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