public function postUpdate(PropelPDO $con = null) { parent::postUpdate($con); if (!$this->alreadyInSave) { kEventsManager::raiseEvent(new kObjectUpdatedEvent($this)); } }
public function postUpdate(PropelPDO $con = null) { parent::postUpdate($con); if (!$this->alreadyInSave) { kEventsManager::raiseEvent(new kObjectUpdatedEvent($this)); } if ($this->getColumnsOldValue(CategoryKuserPeer::STATUS) != CategoryKuserStatus::DELETED && $this->getStatus() == CategoryKuserStatus::DELETED) { kEventsManager::raiseEvent(new kObjectDeletedEvent($this)); } }