API Documentation

Zend/Http/UserAgent/Text.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 license@zend.com 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_Text

Package: Zend\Http\UserAgent

Text browser type matcher

Parent(s)
\Zend_Http_UserAgent_AbstractDevice
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray  $_uaSignatures= 'array( 'lynx''
static

User Agent Signatures

Default valuearray( 'lynx'Details
Type
array

Methods

methodprotected_defineFeatures( ) : string

Look for features

Returns
Type Description
string
methodpublicgetImageFormatSupport( ) : null

Determine supported image formats

Returns
Type Description
null
methodpublicgetPreferredMarkup( ) : string

Get preferred markup format

Returns
Type Description
string
methodpublicgetType( ) : string

Gives the current browser type

Returns
Type Description
string
methodpublicgetXhtmlSupportLevel( ) : int

Get supported X/HTML markup level

Returns
Type Description
int
methodpublichasFlashSupport( ) : bool

Does the device support Flash?

Returns
Type Description
bool
methodpublichasPdfSupport( ) : bool

Does the device support PDF?

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

Comparison of the UserAgent chain and User Agent signatures

Parameters
Name Type Description
$userAgent string

User Agent chain

$server array

$_SERVER like param

Returns
Type Description
bool
Documentation was generated by DocBlox 0.15.1.