%PDF- %PDF-
Direktori : /home/bitrix/www/bitrix/modules/idea/classes/general/ |
Current File : /home/bitrix/www/bitrix/modules/idea/classes/general/idea_notify.php |
<? Class CIdeaManagmentNotify { private $arNotification = array(); const EMAIL = 'CIdeaManagmentEmailNotify'; const SONET = 'CIdeaManagmentSonetNotify'; public function __construct($arNotification = array()) { $this->SetNotification($arNotification); } public function SetNotification($arNotification = array()) { $this->arNotification = $arNotification; return $this; } public function GetNotification() { return $this->arNotification; } public function GetEmailNotify() { $Activity = self::EMAIL; return new $Activity($this); } public function GetSonetNotify() { $Activity = self::SONET; return new $Activity($this); } public function GetNotify($CustomNotifyClassName) { if(class_exists($CustomNotifyClassName)) return new $CustomNotifyClassName($this); return false; } } ?>