1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
idea_notify.php
См. документацию.
1<?
3{
4 private $arNotification = array();
5
6 const EMAIL = 'CIdeaManagmentEmailNotify';
7 const SONET = 'CIdeaManagmentSonetNotify';
8
9 public function __construct($arNotification = array())
10 {
11 $this->SetNotification($arNotification);
12 }
13
14 public function SetNotification($arNotification = array())
15 {
16 $this->arNotification = $arNotification;
17 return $this;
18 }
19
20 public function GetNotification()
21 {
22 return $this->arNotification;
23 }
24
25 public function GetEmailNotify()
26 {
27 $Activity = self::EMAIL;
28 return new $Activity($this);
29 }
30
31 public function GetSonetNotify()
32 {
33 $Activity = self::SONET;
34 return new $Activity($this);
35 }
36
37 public function GetNotify($CustomNotifyClassName)
38 {
39 if(class_exists($CustomNotifyClassName))
40 return new $CustomNotifyClassName($this);
41
42 return false;
43 }
44}
45?>
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
const EMAIL
Определения idea_notify.php:6
SetNotification($arNotification=array())
Определения idea_notify.php:14
GetEmailNotify()
Определения idea_notify.php:25
GetSonetNotify()
Определения idea_notify.php:31
Class CIdeaManagmentNotify
Определения idea_notify.php:3
__construct($arNotification=array())
Определения idea_notify.php:9
GetNotify($CustomNotifyClassName)
Определения idea_notify.php:37
const SONET
Определения idea_notify.php:7
GetNotification()
Определения idea_notify.php:20