Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
GetElementDetailInfoResponse.php
1
<?php
2
3
namespace
Bitrix\Lists\Api\Response\ServiceFactory
;
4
5
use
Bitrix\Lists\Api\Response\Response
;
6
7
class
GetElementDetailInfoResponse
extends
Response
8
{
9
public
function
setInfo
(array $info): static
10
{
11
$this->data[
'info'
] = $info;
12
13
return
$this;
14
}
15
16
public
function
getInfo
(): array
17
{
18
return
$this->data[
'info'
] ?? [];
19
}
20
21
public
function
hasInfo
(): bool
22
{
23
return
array_key_exists(
'info'
, $this->data);
24
}
25
}
Bitrix\Lists\Api\Response\Response
Definition
Response.php:6
Bitrix\Lists\Api\Response\ServiceFactory\GetElementDetailInfoResponse
Definition
GetElementDetailInfoResponse.php:8
Bitrix\Lists\Api\Response\ServiceFactory\GetElementDetailInfoResponse\getInfo
getInfo()
Definition
GetElementDetailInfoResponse.php:16
Bitrix\Lists\Api\Response\ServiceFactory\GetElementDetailInfoResponse\setInfo
setInfo(array $info)
Definition
GetElementDetailInfoResponse.php:9
Bitrix\Lists\Api\Response\ServiceFactory\GetElementDetailInfoResponse\hasInfo
hasInfo()
Definition
GetElementDetailInfoResponse.php:21
Bitrix\Lists\Api\Response\ServiceFactory
Definition
AddElementResponse.php:3
modules
lists
lib
Api
Response
ServiceFactory
GetElementDetailInfoResponse.php
Создано системой
1.10.0