Http/UserAgent/Features/Adapter/Browscap.php

Show: inherited
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 [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 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
\Zend_Http_UserAgent_Features_Adapter
Copyright
Copyright (c) 2005-2012 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
Exception Description
\Zend_Http_UserAgent_Features_Exception
methodpublicgetFromRequest(array $request, array $config) : array
static

Get features from request

Parameters
Name Type Description
$request array

$_SERVER variable

$config array

ignored; included only to satisfy parent class

Returns
Type Description
array
Documentation was generated by phpDocumentor 2.0.0a8.