Documentation

HttpRequest constructor

 public
\Bitrix\Main\HttpRequest::__construct(
 \Bitrix\Main\Server $server,
 array $queryString,
 array $postData,
 array $files,
 array $cookies
);

Non-static method is called when creating a class instance and allows to perform actions within it when creating an object.

Parameters

ParameterDescriptionVersion
$server
$queryStringarray _GET
$postDataarray _POST
$filesarray _FILES
$cookiesarray _COOKIE

Example



© «Bitrix24», 2001-2022
Up