Esempio n. 1
0
 /**
  * Post-insert hook. If overridden, should be called at end of function.
  *
  * @return void
  */
 protected function _postDelete()
 {
     if ($this->_disableHooks) {
         return;
     }
     parent::_postDelete();
     Engine_Hooks_Dispatcher::getInstance()->callEvent('on' . $this->getType(true) . 'DeleteAfter', array('type' => $this->getType(), 'identity' => $this->getIdentity()));
     Engine_Hooks_Dispatcher::getInstance()->callEvent('onItemDeleteAfter', array('type' => $this->getType(), 'identity' => $this->getIdentity()));
 }