Documentation

filter

public
Bitrix\Main\Web\PostDecodeFilter::filter(
 array $values
);

Non-static method returns array with decoded data via getPost().

Executes functions of method CUtil::jSPostUnescape in the old core.

Parameters

ParameterDescriptionVersion
$valuesProcessed data.

Example

use Bitrix\Main\Web\PostDecodeFilter;
...
Application::getInstance()->getContext()->getRequest()->addFilter(new PostDecodeFilter)


© «Bitrix24», 2001-2022
Up