- Timestamp:
- 2008/03/12 16:43:11 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/module/Net/UserAgent/Mobile/NonMobile.php
r15532 r17127 14 14 * @package Net_UserAgent_Mobile 15 15 * @author KUBO Atsuhiro <[email protected]> 16 * @copyright 2003-200 7KUBO Atsuhiro <[email protected]>16 * @copyright 2003-2008 KUBO Atsuhiro <[email protected]> 17 17 * @license http://www.php.net/license/3_0.txt PHP License 3.0 18 18 * @version CVS: $Id$ … … 21 21 */ 22 22 23 require_once (dirname(__FILE__) . '/Common.php');24 require_once (dirname(__FILE__) . '/Display.php');23 require_once 'Net/UserAgent/Mobile/Common.php'; 24 require_once 'Net/UserAgent/Mobile/Display.php'; 25 25 26 26 // {{{ Net_UserAgent_Mobile_NonMobile … … 44 44 * @package Net_UserAgent_Mobile 45 45 * @author KUBO Atsuhiro <[email protected]> 46 * @copyright 2003-200 7KUBO Atsuhiro <[email protected]>46 * @copyright 2003-2008 KUBO Atsuhiro <[email protected]> 47 47 * @license http://www.php.net/license/3_0.txt PHP License 3.0 48 * @version Release: 0.3 0.048 * @version Release: 0.31.0 49 49 * @see Net_UserAgent_Mobile_Common 50 50 * @since Class available since Release 0.1.0 … … 88 88 89 89 /** 90 * parse HTTP_USER_AGENT string 90 * Parses HTTP_USER_AGENT string. 91 * 92 * @param string $userAgent User-Agent string 91 93 */ 92 function parse( )94 function parse($userAgent) 93 95 { 94 @list($this->name, $this->version) = 95 explode('/', $this->getUserAgent()); 96 @list($this->name, $this->version) = explode('/', $userAgent); 96 97 } 97 98 … … 109 110 { 110 111 return new Net_UserAgent_Mobile_Display(null); 111 }112 113 // }}}114 // {{{ getModel()115 116 /**117 * returns name of the model118 *119 * @return string120 */121 function getModel()122 {123 return '';124 }125 126 // }}}127 // {{{ getDeviceID()128 129 /**130 * returns device ID131 *132 * @return string133 */134 function getDeviceID()135 {136 return '';137 112 } 138 113 … … 186 161 * End: 187 162 */ 188 ?>
Note: See TracChangeset
for help on using the changeset viewer.
