public function saveLastProcessedVersion($version)
    {
        $this->lastProcessedVersion = $version;
        $this->myCreateColumn       = null;
        $this->deleteFromSQL(['serverurl' => constant('FLEXIBEE_URL')]);
        if (is_null($this->insertToSQL(['serverurl' => constant('FLEXIBEE_URL'),
                    'changeid' => $version]))) {
            $this->addStatusMessage(_("Last Processed Change ID Saving Failed"),
                'error');
        } else {
            if ($this->debug === true) {
                $this->addStatusMessage(sprintf(_('Last Processed Change ID #%s Saved'),
                        $version));
            }
        }
    }
public function saveLastProcessedVersion($version)
    {
        $this->lastProcessedVersion = $version;
        $this->myCreateColumn       = null;
        $this->deleteFromSQL(['serverurl' => constant('FLEXIBEE_URL')]);
        if (is_null($this->insertToSQL(['serverurl' => constant('FLEXIBEE_URL'),
                    'changeid' => $version]))) {
            $this->addStatusMessage(_("Last Processed Change ID Saving Failed"),
                'error');
        } else {
            if ($this->debug === true) {
                $this->addStatusMessage(sprintf(_('Last Processed Change ID #%s Saved'),
                        $version));
            }
        }
    }
public function saveLastProcessedVersion ( $ version ) { $ this -> lastProcessedVersion = $ version ; $ this -> myCreateColumn = null ; $ this -> deleteFromSQL ( [ 'serverurl' => constant ( 'FLEXIBEE_URL' ) ] ) ; if ( is_null ( $ this -> insertToSQL ( [ 'serverurl' => constant ( 'FLEXIBEE_URL' ) , 'changeid' => $ version ] ) ) ) { $ this -> addStatusMessage ( _ ( "Last Processed Change ID Saving Failed" ) , 'error' ) ; } else { if ( $ this -> debug === true ) { $ this -> addStatusMessage ( sprintf ( _ ( 'Last Processed Change ID #%s Saved' ) , $ version ) ) ; } } }
Ulozi posledni zpracovanou verzi

@param int $version
Ulozi posledni zpracovanou verzi