| 1 |
lars |
1 |
a:23:{s:7:"attribs";a:6:{s:15:"packagerversion";s:5:"1.9.0";s:7:"version";s:3:"2.0";s:5:"xmlns";s:35:"http://pear.php.net/dtd/package-2.0";s:11:"xmlns:tasks";s:33:"http://pear.php.net/dtd/tasks-1.0";s:9:"xmlns:xsi";s:41:"http://www.w3.org/2001/XMLSchema-instance";s:18:"xsi:schemaLocation";s:147:"http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd";}s:4:"name";s:20:"Net_UserAgent_Detect";s:7:"channel";s:12:"pear.php.net";s:7:"summary";s:101:"Net_UserAgent_Detect determines the Web browser, version, and platform from an HTTP user agent string";s:11:"description";s:380:"The Net_UserAgent object does a number of tests on an HTTP user
|
|
|
2 |
agent string. The results of these tests are available via methods of
|
|
|
3 |
the object.
|
|
|
4 |
|
|
|
5 |
This module is based upon the JavaScript browser detection code
|
|
|
6 |
available at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
|
|
|
7 |
This module had many influences from the lib/Browser.php code in
|
|
|
8 |
version 1.3 of Horde.";s:4:"lead";a:4:{s:4:"name";s:10:"Jason Rust";s:4:"user";s:5:"jrust";s:5:"email";s:13:"jrust@php.net";s:6:"active";s:3:"yes";}s:6:"helper";a:2:{i:0;a:4:{s:4:"name";s:9:"Dan Allen";s:4:"user";s:6:"dallen";s:5:"email";s:14:"dallen@php.net";s:6:"active";s:3:"yes";}i:1;a:4:{s:4:"name";s:11:"David Costa";s:4:"user";s:8:"gurugeek";s:5:"email";s:16:"gurugeek@php.net";s:6:"active";s:3:"yes";}}s:4:"date";s:10:"2010-04-15";s:4:"time";s:8:"11:31:57";s:7:"version";a:2:{s:7:"release";s:5:"2.5.2";s:3:"api";s:5:"2.5.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:163:"#15101: IE7up and IE8up correctly detected.
|
|
|
9 |
#15834: Now detecting different versions of OSX.
|
|
|
10 |
#16934: Fix undefined offset error.
|
|
|
11 |
Adding support for IE9 and iPhone.";s:8:"contents";a:1:{s:3:"dir";a:2:{s:7:"attribs";a:2:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:4:"name";s:1:"/";}s:4:"file";a:3:{i:0;a:1:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:6:"md5sum";s:32:"c00b2a511a32cfd525e53e99cb3f42c1";s:4:"name";s:14:"Detect/APC.php";s:4:"role";s:3:"php";}}i:1;a:1:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:6:"md5sum";s:32:"f7c2cd943b38bf476a463ec34f411d58";s:4:"name";s:17:"tests/example.php";s:4:"role";s:4:"test";}}i:2;a:1:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:6:"md5sum";s:32:"468bb5914777da6a0b9cea7bef70a5a7";s:4:"name";s:10:"Detect.php";s:4:"role";s:3:"php";}}}}}s:12:"dependencies";a:1:{s:8:"required";a:2:{s:3:"php";a:1:{s:3:"min";s:5:"4.1.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"1.4.0b1";}}}s:10:"phprelease";s:0:"";s:9:"changelog";a:1:{s:7:"release";a:9:{i:0;a:5:{s:7:"version";a:2:{s:7:"release";s:3:"1.0";s:3:"api";s:3:"1.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2002-05-21";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:8:"PHP 2.01";}s:5:"notes";s:45:"This is the initial independent PEAR release.";}i:1;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.0.1";s:3:"api";s:5:"2.0.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2004-03-11";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:8:"PHP 2.01";}s:5:"notes";s:328:"* Made it PHP5 compatible in a way that is BC
|
|
|
12 |
* Added support for Safari
|
|
|
13 |
* Bumped konq's javascript version up to 1.4
|
|
|
14 |
* Fix bug where w3m caused warnings
|
|
|
15 |
* fixed a notice error when the user agent is empty
|
|
|
16 |
* Fixed missing windows xp detection and added nested_table_render_bug quirk for netscape 4.8 and below.
|
|
|
17 |
* Code cleanups.";}i:2;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.1.0";s:3:"api";s:5:"2.1.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2005-04-18";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:384:"* Added support for firefox, opera6, opera7, aol8, webdav, netgem/iplayer, and win2003
|
|
|
18 |
* The getQuirk() method now works correctly
|
|
|
19 |
* Normally all browser information is cached the first time Net_UserAgent_Detect is run on a page to make it as speedy as possible. However, in some case there is need to clear the cached data. This can now be done by setting the "re-evaluate" option.";}i:3;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.2.0";s:3:"api";s:5:"2.2.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-04-19";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:322:"* Adding new "browsers" that make it easier to exclude old browsers: belowie6, belowns6, and belowopera8
|
|
|
20 |
* Additional browsers now supported: opera8, ie7, icab
|
|
|
21 |
* Adding new "feature" which tells if a browser is AJAX enabled: ajax
|
|
|
22 |
* IE 5 on Mac is now detected correctly as ie5
|
|
|
23 |
* Force override of the user agent now works.";}i:4;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.3.0";s:3:"api";s:5:"2.3.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2007-04-23";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:247:"* Additional browsers are now detected: opera9, firefox1.5, and firefox2.x
|
|
|
24 |
* Added new feature detection for if a browsers has SVG
|
|
|
25 |
* Added new feature detection for if a browsers has CSS2
|
|
|
26 |
* Fixed a bug that crashed the script when running with APC";}i:5;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.4.0";s:3:"api";s:5:"2.4.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2007-09-19";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:335:"* Added a subclass, Net_UserAgent_Detect_APC, which allows Net_UserAgent_Detect results to be cached which makes subsequent lookups for that specific User Agent string very fast (Lucas Nealan)
|
|
|
27 |
* Added support Windows CE (Lucas Nealan)
|
|
|
28 |
* Added support for IE Mobile (Lucas Nealan)
|
|
|
29 |
* Quirk detect for AJAX has been updated (Lucas Nealan)";}i:6;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.5.0";s:3:"api";s:5:"2.5.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2008-10-11";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:114:"* Added support for Google Chrome, Firefox 3, and Safari Mobile (iphone) (matteo)
|
|
|
30 |
* Fixed a path error in APC.php.";}i:7;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.5.1";s:3:"api";s:5:"2.5.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2009-06-09";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:60:"Request #14790 - PHPCS
|
|
|
31 |
Request #16224 - IE8, Vista detection";}i:8;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"2.5.2";s:3:"api";s:5:"2.5.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2010-04-15";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:11:"PHP License";}s:5:"notes";s:163:"#15101: IE7up and IE8up correctly detected.
|
|
|
32 |
#15834: Now detecting different versions of OSX.
|
|
|
33 |
#16934: Fix undefined offset error.
|
|
|
34 |
Adding support for IE9 and iPhone.";}}}s:8:"filelist";a:3:{s:14:"Detect/APC.php";a:5:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:6:"md5sum";s:32:"c00b2a511a32cfd525e53e99cb3f42c1";s:4:"name";s:14:"Detect/APC.php";s:4:"role";s:3:"php";s:12:"installed_as";s:43:"/usr/share/php/Net/UserAgent/Detect/APC.php";}s:17:"tests/example.php";a:5:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:6:"md5sum";s:32:"f7c2cd943b38bf476a463ec34f411d58";s:4:"name";s:17:"tests/example.php";s:4:"role";s:4:"test";s:12:"installed_as";s:59:"/usr/share/php/tests/Net_UserAgent_Detect/tests/example.php";}s:10:"Detect.php";a:5:{s:14:"baseinstalldir";s:13:"Net/UserAgent";s:6:"md5sum";s:32:"468bb5914777da6a0b9cea7bef70a5a7";s:4:"name";s:10:"Detect.php";s:4:"role";s:3:"php";s:12:"installed_as";s:39:"/usr/share/php/Net/UserAgent/Detect.php";}}s:12:"_lastversion";s:5:"2.5.1";s:7:"dirtree";a:5:{s:35:"/usr/share/php/Net/UserAgent/Detect";b:1;s:28:"/usr/share/php/Net/UserAgent";b:1;s:18:"/usr/share/php/Net";b:1;s:47:"/usr/share/php/tests/Net_UserAgent_Detect/tests";b:1;s:41:"/usr/share/php/tests/Net_UserAgent_Detect";b:1;}s:3:"old";a:7:{s:7:"version";s:5:"2.5.2";s:12:"release_date";s:10:"2010-04-15";s:13:"release_state";s:6:"stable";s:15:"release_license";s:11:"PHP License";s:13:"release_notes";s:163:"#15101: IE7up and IE8up correctly detected.
|
|
|
35 |
#15834: Now detecting different versions of OSX.
|
|
|
36 |
#16934: Fix undefined offset error.
|
|
|
37 |
Adding support for IE9 and iPhone.";s:12:"release_deps";a:2:{i:0;a:4:{s:4:"type";s:3:"php";s:3:"rel";s:2:"ge";s:7:"version";s:5:"4.1.0";s:8:"optional";s:2:"no";}i:1;a:6:{s:4:"type";s:3:"pkg";s:7:"channel";s:12:"pear.php.net";s:4:"name";s:4:"PEAR";s:3:"rel";s:2:"ge";s:7:"version";s:7:"1.4.0b1";s:8:"optional";s:2:"no";}}s:11:"maintainers";a:3:{i:0;a:5:{s:4:"name";s:10:"Jason Rust";s:5:"email";s:13:"jrust@php.net";s:6:"active";s:3:"yes";s:6:"handle";s:5:"jrust";s:4:"role";s:4:"lead";}i:1;a:5:{s:4:"name";s:9:"Dan Allen";s:5:"email";s:14:"dallen@php.net";s:6:"active";s:3:"yes";s:6:"handle";s:6:"dallen";s:4:"role";s:6:"helper";}i:2;a:5:{s:4:"name";s:11:"David Costa";s:5:"email";s:16:"gurugeek@php.net";s:6:"active";s:3:"yes";s:6:"handle";s:8:"gurugeek";s:4:"role";s:6:"helper";}}}s:10:"xsdversion";s:3:"2.0";s:13:"_lastmodified";i:1297079809;}
|