Http/UserAgent/Text.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_Text

Package: Zend_Http\UserAgent
Text browser type matcher
Parent(s)
\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('lynx', 'retawq', 'w3m')
static
User Agent Signatures
Default valuearray('lynx', 'retawq', 'w3m')Details
Type
array

Methods

methodprotected_defineFeatures() : string

Look for features

Returns
TypeDescription
string
methodpublicgetImageFormatSupport() : null

Determine supported image formats

Returns
TypeDescription
null
methodpublicgetPreferredMarkup() : string

Get preferred markup format

Returns
TypeDescription
string
methodpublicgetType() : string

Gives the current browser type

Returns
TypeDescription
string
methodpublicgetXhtmlSupportLevel() : int

Get supported X/HTML markup level

Returns
TypeDescription
int
methodpublichasFlashSupport() : bool

Does the device support Flash?

Returns
TypeDescription
bool
methodpublichasPdfSupport() : bool

Does the device support PDF?

Returns
TypeDescription
bool
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 .