public function response($oAlert) { if ('bx_albums_files' == $oAlert->sUnit && 'file_deleted' == $oAlert->sAction) { BxDolService::call($this->MODULE, 'delete_file_associations', array($oAlert->iObject)); } parent::response($oAlert); }
public function response($oAlert) { if ($this->MODULE == $oAlert->sUnit && 'commentPost' == $oAlert->sAction) { BxDolService::call($this->MODULE, 'trigger_comment_post', array($oAlert->iObject, $oAlert->aExtras['comment_author_id'], $oAlert->aExtras['comment_id'])); } parent::response($oAlert); }
public function __construct() { $this->MODULE = 'bx_posts'; parent::__construct(); }