1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
response.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\MessageService\DTO;
4
5
class
Response
6
{
7
public
$statusCode
= 0;
8
public
$headers
= [];
9
public
$body
=
""
;
10
public
$error
=
""
;
11
12
public
function
__construct
(
array
$fields
=
null
)
13
{
14
if
(
$fields
!==
null
)
15
{
16
$this->
hydrate
(
$fields
);
17
}
18
}
19
20
public
function
hydrate
(
array
$fields
)
21
{
22
$this->statusCode = isset(
$fields
[
'statusCode'
]) ? (int)
$fields
[
'statusCode'
] :
$this->statusCode
;
23
$this->headers =
$fields
[
'headers'
] ??
$this->headers
;
24
$this->body =
$fields
[
'body'
] ??
$this->body
;
25
$this->error =
$fields
[
'error'
] ??
$this->error
;
26
}
27
}
Bitrix\MessageService\DTO\Response
Определения
response.php:6
Bitrix\MessageService\DTO\Response\$body
$body
Определения
response.php:9
Bitrix\MessageService\DTO\Response\$statusCode
$statusCode
Определения
response.php:7
Bitrix\MessageService\DTO\Response\__construct
__construct(array $fields=null)
Определения
response.php:12
Bitrix\MessageService\DTO\Response\$headers
$headers
Определения
response.php:8
Bitrix\MessageService\DTO\Response\hydrate
hydrate(array $fields)
Определения
response.php:20
Bitrix\MessageService\DTO\Response\$error
$error
Определения
response.php:10
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$fields
$fields
Определения
yandex_run.php:501
bitrix
modules
messageservice
lib
dto
response.php
Создано системой
1.14.0