public function postInsert(PropelPDO $con = null) { parent::postInsert($con); kEventsManager::raiseEvent(new kObjectAddedEvent($this)); $parent = $this->getParent(); if ($parent) { $parent->increaseChildrenCountAndSave(); } }
public function postInsert(PropelPDO $con = null) { parent::postInsert($con); kEventsManager::raiseEvent(new kObjectAddedEvent($this)); }