Documentation

isTablet

boolean public
\Bitrix\Conversion\Internals\MobileDetect::isTablet(
 string $userAgent = null,
 array $httpHeaders = null
);

Non-static method checks for available tablets. Returns true, when a tablet is detected.

Parameters

ParameterDescriptionVersion
$userAgentDeprecated parameter.
$httpHeadersDeprecated parameter.


© «Bitrix24», 2001-2024