Mobile_Detect::is
This method checks for a certain property in the userAgent.
Signature
public function is(string
$key,
[string
$userAgent = NULL,
[string
$httpHeaders = NULL]] )
Parameters
$key
— string$userAgent
— string- deprecated
$httpHeaders
— string- deprecated
Returns
- bool|int|null
Line | Task |
---|---|
1223+ | : The httpHeaders part is not yet used. |