Documentation

setActive

\Bitrix\Security\HostRestriction public
\Bitrix\Security\HostRestriction::setActive(
 boolean $isActive = false
);

Non-static method activates or deactivates automatic verification.

Parameters

ParameterDescriptionVersion
$isActiveWhen set to true, enables active/inactive verification for each query.

Exceptions

Example



© «Bitrix24», 2001-2024