Documentation

match

boolean public
\Bitrix\Conversion\Internals\MobileDetect::match(
  $regex,
 string $userAgent = null
);

Non-static method compares regular user expressions with string User Agent.

Parameters

ParameterDescriptionVersion
$regexRegular expression.
$userAgentUserAgent.


© «Bitrix24», 2001-2024
Up