예제 #1
0
 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);
 }
예제 #2
0
 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);
 }
예제 #3
0
 public function __construct()
 {
     $this->MODULE = 'bx_posts';
     parent::__construct();
 }