equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Http |
16 * @package Zend_Http |
17 * @subpackage UserAgent |
17 * @subpackage UserAgent |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 */ |
20 */ |
21 require_once 'Zend/Http/UserAgent/Desktop.php'; |
21 require_once 'Zend/Http/UserAgent/Desktop.php'; |
22 |
22 |
23 /** |
23 /** |
24 * Checker browser type matcher |
24 * Checker browser type matcher |
25 * |
25 * |
26 * @category Zend |
26 * @category Zend |
27 * @package Zend_Http |
27 * @package Zend_Http |
28 * @subpackage UserAgent |
28 * @subpackage UserAgent |
29 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
29 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
30 * @license http://framework.zend.com/license/new-bsd New BSD License |
30 * @license http://framework.zend.com/license/new-bsd New BSD License |
31 */ |
31 */ |
32 |
32 |
33 class Zend_Http_UserAgent_Checker extends Zend_Http_UserAgent_Desktop |
33 class Zend_Http_UserAgent_Checker extends Zend_Http_UserAgent_Desktop |
34 { |
34 { |
38 * |
38 * |
39 * @var array |
39 * @var array |
40 */ |
40 */ |
41 protected static $_uaSignatures = array( |
41 protected static $_uaSignatures = array( |
42 'abilogic', |
42 'abilogic', |
43 'checklink', |
43 'checklink', |
44 'checker', |
44 'checker', |
45 'linksmanager', |
45 'linksmanager', |
46 'mojoo', |
46 'mojoo', |
47 'notifixious', |
47 'notifixious', |
48 'ploetz', |
48 'ploetz', |
49 'zeller', |
49 'zeller', |
50 'sitebar', |
50 'sitebar', |
51 'xenu', |
51 'xenu', |
52 'sleuth', |
52 'sleuth', |
53 ); |
53 ); |
54 |
54 |
55 /** |
55 /** |
56 * Comparison of the UserAgent chain and User Agent signatures |
56 * Comparison of the UserAgent chain and User Agent signatures |