Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Mobile browser type matcher

array
$_uaBegin= 'array(
'w3c ''
first 4 letters of mobile User Agent chains
array(
'w3c '
Details
__construct(
$userAgent
=
null, $server
=
array(), $config
=
array()
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$userAgent | ||
$server | ||
$config |

getMarkupLanguage(
$preferredMarkup
=
null
)
:
\__TYPE__
Determine markup language expected
Name | Type | Description |
---|---|---|
$preferredMarkup |
Type | Description |
---|---|
\__TYPE__ |

hasPhoneNumber(
)
:
bool
Does the device have an associated phone number?
Type | Description |
---|---|
bool |

match(
string $userAgent, array $server
)
:
bool
Comparison of the UserAgent chain and User Agent signatures
Name | Type | Description |
---|---|---|
$userAgent | string | User Agent chain |
$server | array | $_SERVER like param |
Type | Description |
---|---|
bool |