Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
Result.php
1
<?php
2
3
namespace
Bitrix\Im\V2
;
4
8
class
Result
extends
\Bitrix\Main\Result
9
{
10
protected
bool
$hasResult
=
false
;
11
17
public
function
setResult
($result): self
18
{
19
$this->
hasResult
=
true
;
20
return
parent::setData([
'RESULT'
=> $result]);
21
}
22
27
public
function
getResult
()
28
{
29
return
parent::getData()[
'RESULT'
] ??
null
;
30
}
31
36
public
function
hasResult
(): bool
37
{
38
return
$this->
isSuccess
() &&
$this->hasResult
;
39
}
40
}
Bitrix\Im\V2\Result
Definition
Result.php:9
Bitrix\Im\V2\Result\setResult
setResult($result)
Definition
Result.php:17
Bitrix\Im\V2\Result\$hasResult
bool $hasResult
Definition
Result.php:10
Bitrix\Im\V2\Result\getResult
getResult()
Definition
Result.php:27
Bitrix\Im\V2\Result\hasResult
hasResult()
Definition
Result.php:36
Bitrix\Main\ORM\Data\Result
Definition
result.php:16
Bitrix\Main\Result\isSuccess
isSuccess()
Definition
result.php:39
Bitrix\Im\V2
Definition
ActionUuid.php:3
modules
im
lib
V2
Result.php
Создано системой
1.10.0