version
string|float public \Bitrix\Conversion\Internals\MobileDetect::version( string $propertyName, string $type = self::VERSION_TYPE_STRING );
Non-static method checks version for this parameter in User-Agent
. Returns floating point number (for example, 2_0 will be returned as 2.0, 4.3.1 will be returned as 4.31).
Parameters
Parameter | Description | Version |
---|---|---|
$propertyName | Parameter name. See. self::getProperties() array
keys to get all parameters. | |
$type | Тип:
Parameter is optional and default value is |
© «Bitrix24», 2001-2024