API Documentation

Zend/Http/UserAgent/Bot.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_Bot

Package: Zend\Http\UserAgent

Bot 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( // The most common ones. 'googlebot''
static

User Agent Signatures

Default valuearray( // The most common ones. 'googlebot'Details
Type
array

Methods

methodpublicgetType( ) : string

Gives the current browser type

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

Comparison of the UserAgent chain and browser 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.