isMobile
boolean public \Bitrix\Conversion\Internals\MobileDetect::isMobile( null $userAgent = null, null $httpHeaders = null );
Non-static method checks for available mobile phones. Returns true
, when device is a mobile phone.
Parameters
Parameter | Description | Version |
---|---|---|
$userAgent | Deprecated parameter. | |
$httpHeaders | Deprecated parameter. |
© «Bitrix24», 2001-2024