Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
eventresult.php
1
<?php
2
namespace
Bitrix\Main
;
3
4
class
EventResult
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
}
Bitrix\Main\EventResult
Definition
eventresult.php:5
Bitrix\Main\EventResult\getParameters
getParameters()
Definition
eventresult.php:44
Bitrix\Main\EventResult\SUCCESS
const SUCCESS
Definition
eventresult.php:7
Bitrix\Main\EventResult\getResultType
getResultType()
Definition
eventresult.php:24
Bitrix\Main\EventResult\__construct
__construct($type, $parameters=null, $moduleId=null, $handler=null)
Definition
eventresult.php:15
Bitrix\Main\EventResult\ERROR
const ERROR
Definition
eventresult.php:8
Bitrix\Main\EventResult\getType
getType()
Definition
eventresult.php:29
Bitrix\Main\EventResult\$handler
$handler
Definition
eventresult.php:11
Bitrix\Main\EventResult\$type
$type
Definition
eventresult.php:12
Bitrix\Main\EventResult\UNDEFINED
const UNDEFINED
Definition
eventresult.php:6
Bitrix\Main\EventResult\$parameters
$parameters
Definition
eventresult.php:13
Bitrix\Main\EventResult\getModuleId
getModuleId()
Definition
eventresult.php:34
Bitrix\Main\EventResult\$moduleId
$moduleId
Definition
eventresult.php:10
Bitrix\Main\EventResult\getHandler
getHandler()
Definition
eventresult.php:39
Bitrix\Main
modules
main
lib
eventresult.php
Создано системой
1.10.0