1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
eventresult.php
См. документацию.
1
<?php
8
9
namespace
Bitrix\Main\ORM;
10
11
use Bitrix\Main\ORM\Fields\FieldError;
12
13
class
EventResult
extends
\Bitrix\Main\EventResult
14
{
16
protected
$modified
=
array
();
17
19
protected
$unset
=
array
();
20
22
protected
$errors
=
array
();
23
24
public
function
__construct
()
25
{
26
parent::__construct(parent::SUCCESS,
$parameters
=
null
,
$moduleId
=
null
,
$handler
=
null
);
27
}
28
33
public
function
setErrors
(
array
$errors
)
34
{
35
$this->errors =
$errors
;
36
$this->type = parent::ERROR;
37
}
38
42
public
function
addError
(
EntityError
$error
)
43
{
44
$this->errors[] =
$error
;
45
$this->type = parent::ERROR;
46
}
47
51
public
function
getErrors
()
52
{
53
return
$this->errors
;
54
}
55
60
public
function
modifyFields
(
array
$fields
)
61
{
62
$this->modified =
$fields
;
63
}
64
65
public
function
getModified
()
66
{
67
return
$this->modified;
68
}
69
74
public
function
unsetFields
(
array
$fields
)
75
{
76
$this->unset =
$fields
;
77
}
78
82
public
function
unsetField
($fieldName)
83
{
84
$this->unset[] = $fieldName;
85
}
86
87
public
function
getUnset
()
88
{
89
return
$this->unset;
90
}
91
}
Bitrix\Main\EventResult
Определения
eventresult.php:5
Bitrix\Main\EventResult\$handler
$handler
Определения
eventresult.php:11
Bitrix\Main\EventResult\$parameters
$parameters
Определения
eventresult.php:13
Bitrix\Main\EventResult\$moduleId
$moduleId
Определения
eventresult.php:10
Bitrix\Main\ORM\EntityError
Определения
entityerror.php:12
Bitrix\Main\ORM\EventResult\__construct
__construct()
Определения
eventresult.php:24
Bitrix\Main\ORM\EventResult\modifyFields
modifyFields(array $fields)
Определения
eventresult.php:60
Bitrix\Main\ORM\EventResult\unsetFields
unsetFields(array $fields)
Определения
eventresult.php:74
Bitrix\Main\ORM\EventResult\getModified
getModified()
Определения
eventresult.php:65
Bitrix\Main\ORM\EventResult\addError
addError(EntityError $error)
Определения
eventresult.php:42
Bitrix\Main\ORM\EventResult\setErrors
setErrors(array $errors)
Определения
eventresult.php:33
Bitrix\Main\ORM\EventResult\$unset
$unset
Определения
eventresult.php:19
Bitrix\Main\ORM\EventResult\getErrors
getErrors()
Определения
eventresult.php:51
Bitrix\Main\ORM\EventResult\$modified
$modified
Определения
eventresult.php:16
Bitrix\Main\ORM\EventResult\unsetField
unsetField($fieldName)
Определения
eventresult.php:82
Bitrix\Main\ORM\EventResult\getUnset
getUnset()
Определения
eventresult.php:87
Bitrix\Main\ORM\EventResult\$errors
$errors
Определения
eventresult.php:22
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$errors
$errors
Определения
iblock_catalog_edit.php:74
$error
$error
Определения
subscription_card_product.php:20
$fields
$fields
Определения
yandex_run.php:501
bitrix
modules
main
lib
orm
eventresult.php
Создано системой
1.14.0