Beispiel #1
0
 /**
  * Get the next version number for the audit log
  *
  * @param Doctrine_Record $record 
  * @return integer $nextVersion
  */
 protected function _getNextVersion(Doctrine_Record $record)
 {
     if ($this->_auditLog->getOption('auditLog')) {
         return $this->_auditLog->getMaxVersion($record) + 1;
     }
 }