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