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; } } ?>