Ignore:
Timestamp:
2007/02/25 00:33:58 (19 years ago)
Author:
rebelt
Message:

PEAR Net_UserAgent_Mobile 0.30.0 をインポートしました。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/mobile/data/module/Net/UserAgent/Mobile/DoCoMo.php

    r11398 r11456  
    1414 * @package    Net_UserAgent_Mobile 
    1515 * @author     KUBO Atsuhiro <[email protected]> 
    16  * @copyright  2003-2006 KUBO Atsuhiro <[email protected]> 
     16 * @copyright  2003-2007 KUBO Atsuhiro <[email protected]> 
    1717 * @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 $ 
    1919 * @link       http://www.nttdocomo.co.jp/service/imode/make/content/spec/useragent/index.html 
    2020 * @see        Net_UserAgent_Mobile_Common 
     
    3737 * SYNOPSIS: 
    3838 * <code> 
    39  * require_once('Net/UserAgent/Mobile.php'); 
     39 * require_once 'Net/UserAgent/Mobile.php'; 
    4040 * 
    4141 * $_SERVER['HTTP_USER_AGENT'] = 'DoCoMo/1.0/P502i/c10'; 
     
    7575 * @package    Net_UserAgent_Mobile 
    7676 * @author     KUBO Atsuhiro <[email protected]> 
    77  * @copyright  2003-2006 KUBO Atsuhiro <[email protected]> 
     77 * @copyright  2003-2007 KUBO Atsuhiro <[email protected]> 
    7878 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0 
    79  * @version    Release: @package_version@ 
     79 * @version    Release: 0.30.0 
    8080 * @link       http://www.nttdocomo.co.jp/service/imode/make/content/spec/useragent/index.html 
    8181 * @see        Net_UserAgent_Mobile_Common 
     
    248248                                    '504i|251i|^F671iS$|212i|2051|2102V|661i|2701|672i|SO213i|850i' => '4.0', 
    249249                                    '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' 
    253253                                    ); 
    254254        } 
     
    553553                    continue; 
    554554                } 
    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                    } 
    557559                    continue; 
    558560                } 
Note: See TracChangeset for help on using the changeset viewer.