isValidHost
boolean public \Bitrix\Security\HostRestriction::isValidHost( string $host );
Non-static method verifies domain name against domain name limits.
Parameters
Parameter | Description | Version |
---|---|---|
$host | Host to be verified. |
Исключения
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
)
Example
© «Bitrix24», 2001-2024