setActive
\Bitrix\Security\HostRestriction public \Bitrix\Security\HostRestriction::setActive( boolean $isActive = false );
Non-static method activates or deactivates automatic verification.
Parameters
Parameter | Description | Version |
---|---|---|
$isActive | When set to true , enables active/inactive verification for each query. |
Exceptions
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
)
Example
© «Bitrix24», 2001-2024