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