Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
zendframework1
library
Zend
Http
UserAgent
Checker.php
Go to the documentation of this file.
1
<?php
21
#require_once 'Zend/Http/UserAgent/Desktop.php';
22
33
class
Zend_Http_UserAgent_Checker
extends
Zend_Http_UserAgent_Desktop
34
{
35
41
protected
static
$_uaSignatures
= array(
42
'abilogic'
,
43
'checklink'
,
44
'checker'
,
45
'linksmanager'
,
46
'mojoo'
,
47
'notifixious'
,
48
'ploetz'
,
49
'zeller'
,
50
'sitebar'
,
51
'xenu'
,
52
'sleuth'
,
53
);
54
62
public
static
function
match
($userAgent, $server)
63
{
64
return
self::_matchAgentAgainstSignatures
($userAgent, self::$_uaSignatures);
65
}
66
72
public
function
getType
()
73
{
74
return
'bot'
;
75
}
76
}
Zend_Http_UserAgent_Checker\match
static match($userAgent, $server)
Definition:
Checker.php:62
Zend_Http_UserAgent_Desktop
Definition:
Desktop.php:32
Zend_Http_UserAgent_Checker
Definition:
Checker.php:33
Zend_Http_UserAgent_AbstractDevice\_matchAgentAgainstSignatures
static _matchAgentAgainstSignatures($userAgent, $signatures)
Definition:
AbstractDevice.php:984
Zend_Http_UserAgent_Checker\$_uaSignatures
static $_uaSignatures
Definition:
Checker.php:41
Zend_Http_UserAgent_Checker\getType
getType()
Definition:
Checker.php:72