Http/UserAgent/Features/Adapter/Browscap.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Http  
Subpackage
UserAgent  

\Zend_Http_UserAgent_Features_Adapter_Browscap

Package: Zend_Http\UserAgent
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
Implements
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublic__construct() : void

Constructor

Validate that we have browscap support available.
Throws
ExceptionDescription
\Zend_Http_UserAgent_Features_Exception
methodpublicgetFromRequest(array $request, array $config) : array
static

Get features from request

Parameters
NameTypeDescription
$requestarray

$_SERVER variable

$configarray

ignored; included only to satisfy parent class

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.2.0 .