Documentation

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

ParameterDescriptionVersion
$userAgentDeprecated parameter.
$httpHeadersDeprecated parameter.


© «Bitrix24», 2001-2024
Up