public function insertSystemVersion($details = null, $backtrace = null)
    {
        if(is_null($this->cfVersion))
            return false;

        $db = $this->getConnection();

        $version = $db->insertRecord('sysversion', array(
            'CFVersion' => $this->cfVersion,
            'CreationDate' => $this->DateFactory->newStorageDate(),
            'Details' => is_string($details) ? $details : null,
            'Backtrace' => $backtrace
        ));


        $this->version = $version;
        $this->dbCfVersion = $this->cfVersion;

        return $version;
    }
public function insertSystemVersion($details = null, $backtrace = null)
    {
        if(is_null($this->cfVersion))
            return false;

        $db = $this->getConnection();

        $version = $db->insertRecord('sysversion', array(
            'CFVersion' => $this->cfVersion,
            'CreationDate' => $this->DateFactory->newStorageDate(),
            'Details' => is_string($details) ? $details : null,
            'Backtrace' => $backtrace
        ));


        $this->version = $version;
        $this->dbCfVersion = $this->cfVersion;

        return $version;
    }
public function insertSystemVersion ( $ details = null , $ backtrace = null ) { if ( is_null ( $ this -> cfVersion ) ) return false ; $ db = $ this -> getConnection ( ) ; $ version = $ db -> insertRecord ( 'sysversion' , array ( 'CFVersion' => $ this -> cfVersion , 'CreationDate' => $ this -> DateFactory -> newStorageDate ( ) , 'Details' => is_string ( $ details ) ? $ details : null , 'Backtrace' => $ backtrace ) ) ; $ this -> version = $ version ; $ this -> dbCfVersion = $ this -> cfVersion ; return $ version ; }
Increments the current system version

@param string $details   A string detailing changes or the reason for the new version
@param string $backtrace A backtrace that documents where this call originated from.

@return integer The new current version
Increments the current system version