Метод | Описание | |
---|---|---|
expand ( |
||
getDataCollection ( ) : |
Get the data collection | |
getLogger ( ) : Psr\Log\LoggerInterface | ||
getVersionParts ( string $version ) : string[] | splits a version into the major and the minor version | |
parseProperty ( string $value, string $majorVer, string $minorVer ) : string | Render the property of a single User Agent | |
setDataCollection ( |
Set the data collection | |
setLogger ( Psr\Log\LoggerInterface $logger ) : |
||
trimProperty ( string $propertyValue ) : string | boolean | trims the value of a property and converts the string values "true" and "false" to boolean |
Метод | Описание | |
---|---|---|
checkEngineData ( array $properties, string $message ) | checks if platform properties are set inside a properties array | |
checkPlatformData ( array $properties, string $message ) | checks if platform properties are set inside a properties array | |
expandProperties ( array $allInputDivisions ) : array | expands all properties for all useragents to make sure all properties are set and make it possible to skip incomplete properties and remove duplicate definitions | |
parseChildren ( string $ua, array $uaDataChild, boolean $lite = true, boolean $standard = true ) : array[] | Render the children section in a single User Agent block | |
parseDivision ( |
Render a single division | |
parseUserAgent ( array $uaData, boolean $lite, boolean $standard, integer $sortIndex, string $divisionName ) : array | Render a single User Agent block |
public getDataCollection ( ) : |
||
Результат |
public getLogger ( ) : Psr\Log\LoggerInterface | ||
Результат | Psr\Log\LoggerInterface | $logger |
public getVersionParts ( string $version ) : string[] | ||
$version | string | |
Результат | string[] |
public setDataCollection ( |
||
$collection | ||
Результат |
public setLogger ( Psr\Log\LoggerInterface $logger ) : |
||
$logger | Psr\Log\LoggerInterface | |
Результат |