- Timestamp:
- 2007/02/25 00:33:58 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/mobile/data/module/Net/UserAgent/Mobile/DoCoMo.php
r11398 r11456 14 14 * @package Net_UserAgent_Mobile 15 15 * @author KUBO Atsuhiro <[email protected]> 16 * @copyright 2003-200 6KUBO Atsuhiro <[email protected]>16 * @copyright 2003-2007 KUBO Atsuhiro <[email protected]> 17 17 * @license http://www.php.net/license/3_0.txt PHP License 3.0 18 * @version CVS: $Id: DoCoMo.php,v 1. 29 2006/11/07 09:25:14 kuboa Exp $18 * @version CVS: $Id: DoCoMo.php,v 1.35 2007/02/20 18:41:04 kuboa Exp $ 19 19 * @link http://www.nttdocomo.co.jp/service/imode/make/content/spec/useragent/index.html 20 20 * @see Net_UserAgent_Mobile_Common … … 37 37 * SYNOPSIS: 38 38 * <code> 39 * require_once ('Net/UserAgent/Mobile.php');39 * require_once 'Net/UserAgent/Mobile.php'; 40 40 * 41 41 * $_SERVER['HTTP_USER_AGENT'] = 'DoCoMo/1.0/P502i/c10'; … … 75 75 * @package Net_UserAgent_Mobile 76 76 * @author KUBO Atsuhiro <[email protected]> 77 * @copyright 2003-200 6KUBO Atsuhiro <[email protected]>77 * @copyright 2003-2007 KUBO Atsuhiro <[email protected]> 78 78 * @license http://www.php.net/license/3_0.txt PHP License 3.0 79 * @version Release: @package_version@79 * @version Release: 0.30.0 80 80 * @link http://www.nttdocomo.co.jp/service/imode/make/content/spec/useragent/index.html 81 81 * @see Net_UserAgent_Mobile_Common … … 248 248 '504i|251i|^F671iS$|212i|2051|2102V|661i|2701|672i|SO213i|850i' => '4.0', 249 249 'eggy|P751v' => '3.2', 250 '505i|252i|900i|506i|880i|253i|P213i|901i|700i|851i|701i|881i| 800i|600i|882i' => '5.0',251 '902i|702i|851i ' => '6.0',252 '903i ' => '7.0'250 '505i|252i|900i|506i|880i|253i|P213i|901i|700i|851i|701i|881i|^SA800i$|600i|^L601i$|^M702i(S|G)$' => '5.0', 251 '902i|702i|851i|882i|^N601i$|^D800iDS$|^P703imyu$' => '6.0', 252 '903i|703i' => '7.0' 253 253 ); 254 254 } … … 553 553 continue; 554 554 } 555 if (preg_match('/^icc(\w{20})$/', $value, $matches)) { 556 $this->_cardID = $matches[1]; 555 if (preg_match('/^icc(\w{20})?$/', $value, $matches)) { 556 if (count($matches) == 2) { 557 $this->_cardID = $matches[1]; 558 } 557 559 continue; 558 560 }
Note: See TracChangeset
for help on using the changeset viewer.
