Exemplo n.º 1
0
 /**
  * Code to be run after updating the object in database
  * @param PropelPDO $con
  */
 public function postUpdate(PropelPDO $con = null)
 {
     if ($this->alreadyInSave) {
         return;
     }
     if ($this->isModified()) {
         kQueryCache::invalidateQueryCache($this);
         kEventsManager::raiseEvent(new kObjectChangedEvent($this, $this->tempModifiedColumns));
     }
     $this->tempModifiedColumns = array();
     parent::postUpdate($con);
 }
Exemplo n.º 2
0
 /**
  * Code to be run after updating the object in database
  * @param PropelPDO $con
  */
 public function postUpdate(PropelPDO $con = null)
 {
     if ($this->alreadyInSave) {
         return;
     }
     kQueryCache::invalidateQueryCache($this);
     parent::postUpdate($con);
 }
Exemplo n.º 3
0
 /**
  * Code to be run after updating the object in database
  * @param PropelPDO $con
  */
 public function postUpdate(PropelPDO $con = null)
 {
     if ($this->alreadyInSave) {
         return;
     }
     if ($this->isModified()) {
         kQueryCache::invalidateQueryCache($this);
         $modifiedColumns = $this->tempModifiedColumns;
         $modifiedColumns[kObjectChangedEvent::CUSTOM_DATA_OLD_VALUES] = $this->oldCustomDataValues;
         kEventsManager::raiseEvent(new kObjectChangedEvent($this, $modifiedColumns));
     }
     $this->tempModifiedColumns = array();
     parent::postUpdate($con);
 }