Documentation

process

boolean public
\Bitrix\Security\Filter\Auditor\Xss::process(
 string $value
);

Non-static method processes and saves filtered value. Returns true if the value was filtered by the auditor. Filtered value is handled by Xss::getFilteredValue.

Parameters

ParameterDescriptionVersion
$valueFiltered value.

Example

$ob = new Xss();
if ($ob->process($someValue))
    $someValue = $ob->getFilteredValue();



© «Bitrix24», 2001-2024
Up