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