Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
eventresult.php
1<?php
2namespace Bitrix\Main;
3
5{
6 const UNDEFINED = 0;
7 const SUCCESS = 1;
8 const ERROR = 2;
9
10 protected $moduleId;
11 protected $handler;
12 protected $type;
13 protected $parameters;
14
15 public function __construct($type, $parameters = null, $moduleId = null, $handler = null)
16 {
17 $this->type = $type;
18 $this->moduleId = $moduleId;
19 $this->handler = $handler;
20 $this->parameters = $parameters;
21 }
22
24 public function getResultType()
25 {
26 return $this->getType();
27 }
28
29 public function getType()
30 {
31 return $this->type;
32 }
33
34 public function getModuleId()
35 {
36 return $this->moduleId;
37 }
38
39 public function getHandler()
40 {
41 return $this->handler;
42 }
43
44 public function getParameters()
45 {
46 return $this->parameters;
47 }
48}
__construct($type, $parameters=null, $moduleId=null, $handler=null)