Property | Type | Description | |
---|---|---|---|
$carrier | string | ||
$flag | mixed | ||
$generic | boolean | ||
$hidden | boolean | ||
$identified | integer | ||
$identifier | integer | ||
$manufacturer | string | ||
$model | string | ||
$series | string | ||
$subtype | string | ||
$type | string |
Method | Description | |
---|---|---|
getCarrier ( ) : string | Get the name of the carrier in a human readable format | |
getManufacturer ( ) : string | Get the name of the manufacturer in a human readable format | |
getModel ( ) : string | Get the name of the model in a human readable format | |
identifyModel ( string $pattern, string $subject, array | null $defaults = [] ) : string | Identify the manufacturer and model based on a pattern | |
isDetected ( ) : boolean | Check if device information is detected | |
reset ( array | null $properties = null ) | Set the properties to the default values | |
setIdentification ( array $properties ) : string | Declare an positive identification | |
toArray ( ) : array | Get an array of all defined properties | |
toString ( ) : string | Get the combined name of the manufacturer and model in a human readable format |
public getCarrier ( ) : string | ||
return | string |
public getManufacturer ( ) : string | ||
return | string |
public identifyModel ( string $pattern, string $subject, array | null $defaults = [] ) : string | ||
$pattern | string | The regular expression that defines the group that matches the model |
$subject | string | The string the regular expression is matched with |
$defaults | array | null | An optional array of properties to set together |
return | string |
public isDetected ( ) : boolean | ||
return | boolean |
public setIdentification ( array $properties ) : string | ||
$properties | array | An array, the key of an element determines the name of the property |
return | string |