Http/UserAgent/Validator.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_Validator

Package: Zend_Http\UserAgent
Validator browser type matcher
Parent(s)
\Zend_Http_UserAgent_Desktop < \Zend_Http_UserAgent_AbstractDevice
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_uaSignatures = array('htmlvalidator', 'csscheck', 'cynthia', 'htmlparser', 'validator', 'jfouffa', 'jigsaw', 'w3c_validator', 'wdg_validator')
static
User Agent Signatures
Default valuearray('htmlvalidator', 'csscheck', 'cynthia', 'htmlparser', 'validator', 'jfouffa', 'jigsaw', 'w3c_validator', 'wdg_validator')Details
Type
array

Methods

methodpublicgetType() : string

Gives the current browser type

Returns
TypeDescription
string
methodpublicmatch(string $userAgent, array $server) : bool
static

Comparison of the UserAgent chain and User Agent signatures

Parameters
NameTypeDescription
$userAgentstring

User Agent chain

$serverarray

$_SERVER like param

Returns
TypeDescription
bool
Documentation was generated by phpDocumentor 2.2.0 .