Features adapter utilizing PHP's native browscap support

Requires that you have a PHP-compatible version of the browscap.ini, per the instructions at http://php.net/get_browser

package Zend_Http
subpackage UserAgent
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Constructor

__construct() 

Validate that we have browscap support available.

Exceptions

\Zend_Http_UserAgent_Features_Exception

Get features from request

getFromRequest(array $request, array $config) : array
Static
inherited_from \Zend_Http_UserAgent_Features_Adapter::getFromRequest()

Parameters

$request

array

$_SERVER variable

$config

array

ignored; included only to satisfy parent class

Returns

array