Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
formstream.php
1
<?php
2
3
namespace
Bitrix\Main\Web\Http
;
4
5
class
FormStream
extends
Stream
6
{
7
public
function
__construct
(array $data)
8
{
9
parent::__construct(
'php://temp'
,
'r+'
);
10
11
$this->
build
($data);
12
$this->
rewind
();
13
}
14
15
protected
function
build
(array $data)
16
{
17
$this->
write
(http_build_query($data,
''
,
'&'
));
18
}
19
}
Bitrix\Main\Web\Http\FormStream
Definition
formstream.php:6
Bitrix\Main\Web\Http\FormStream\build
build(array $data)
Definition
formstream.php:15
Bitrix\Main\Web\Http\FormStream\__construct
__construct(array $data)
Definition
formstream.php:7
Bitrix\Main\Web\Http\Stream
Definition
stream.php:9
Bitrix\Main\Web\Http\Stream\rewind
rewind()
Definition
stream.php:166
Bitrix\Main\Web\Http\Stream\write
write(string $string)
Definition
stream.php:187
Bitrix\Main\Web\Http
Definition
clientexception.php:3
modules
main
lib
web
http
formstream.php
Создано системой
1.10.0