Net_UserAgent_Mobile
[ class tree: Net_UserAgent_Mobile ] [ index: Net_UserAgent_Mobile ] [ all elements ]

Class: Net_UserAgent_Mobile_DoCoMo

Source Location: /Net_UserAgent_Mobile-0.3/Mobile/DoCoMo.php

Class Overview

Net_UserAgent_Mobile_Common
   |
   --Net_UserAgent_Mobile_DoCoMo

NTT DoCoMo implementation


Author(s):

Version:

  • $Revision: 1.2 $

Methods


Inherited Variables

Inherited Methods

Class: Net_UserAgent_Mobile_Common

Net_UserAgent_Mobile_Common::Net_UserAgent_Mobile_Common()
Constructor
Net_UserAgent_Mobile_Common::getDisplay()
returns Net_UserAgent_Mobile_Disply object
Net_UserAgent_Mobile_Common::getHeader()
returns a specified HTTP header
Net_UserAgent_Mobile_Common::getName()
returns User-Agent name like 'DoCoMo'
Net_UserAgent_Mobile_Common::getUserAgent()
returns User-Agent string
Net_UserAgent_Mobile_Common::getVersion()
returns User-Agent version number like '1.0'
Net_UserAgent_Mobile_Common::isDoCoMo()
returns true if the agent is DoCoMo
Net_UserAgent_Mobile_Common::isEZweb()
returns true if the agent is EZweb
Net_UserAgent_Mobile_Common::isJPhone()
returns true if the agent is J-PHONE
Net_UserAgent_Mobile_Common::isNonMobile()
returns true if the agent is NonMobile
Net_UserAgent_Mobile_Common::isWAP1()
returns true if the agent can speak WAP1 protocol
Net_UserAgent_Mobile_Common::isWAP2()
returns true if the agent can speak WAP2 protocol
Net_UserAgent_Mobile_Common::makeDisplay()
create a new Net_UserAgent_Mobile_Display class instance (should be implemented in subclasses)
Net_UserAgent_Mobile_Common::noMatch()
generates a warning message for new variants
Net_UserAgent_Mobile_Common::parse()
parse HTTP_USER_AGENT string (should be implemented in subclasses)

Class Details

[line 74]
NTT DoCoMo implementation

Net_UserAgent_Mobile_DoCoMo is a subclass of Net_UserAgent_Mobile_Common, which implements NTT docomo i-mode user agents.



[ Top ]


Method Detail

getBandwidth   [line 341]

mixed getBandwidth( )

returns bandwidth like 32 as killobytes unit. Only vailable in eggy, returns NULL otherwise.
  • Access: public

[ Top ]

getCacheSize   [line 252]

integer getCacheSize( )

returns cache size as killobytes unit. returns 5 if unknown.
  • Access: public

[ Top ]

getCardID   [line 397]

mixed getCardID( )

returns FOMA Card ID (20 digit alphanumeric). Only available in FOMA with E<lt>form utnE<gt> attribute. returns NULL otherwise.
  • Access: public

[ Top ]

getComment   [line 383]

mixed getComment( )

returns comment on user agent string like 'Google Proxy'. returns NULL otherwise.
  • Access: public

[ Top ]

getHTMLVersion   [line 208]

mixed getHTMLVersion( )

returns supported HTML version like '3.0'. retuns NULL if unknown.
  • Access: public

[ Top ]

getModel   [line 313]

string getModel( )

returns name of the model like 'P502i'
  • Access: public

[ Top ]

getSerialNumber   [line 355]

mixed getSerialNumber( )

returns hardware unique serial number (15 digit in FOMA, 11 digit otherwise alphanumeric). Only available with form utn attribute. returns NULL otherwise.
  • Access: public

[ Top ]

getSeries   [line 276]

mixed getSeries( )

returns series name like '502i'. returns NULL if unknown.
  • Access: public

[ Top ]

getStatus   [line 327]

string getStatus( )

returns status of the cache (TB, TD, TJ)
  • Access: public

[ Top ]

getVendor   [line 296]

mixed getVendor( )

returns vender code like 'SO' for Sony. returns NULL if unknown.
  • Access: public

[ Top ]

isDoCoMo   [line 144]

boolean isDoCoMo( )

returns true
  • Access: public

Overrides Net_UserAgent_Mobile_Common::isDoCoMo() (returns true if the agent is DoCoMo)
[ Top ]

isFOMA   [line 369]

boolean isFOMA( )

retuns whether it's FOMA or not
  • Access: public

[ Top ]

makeDisplay   [line 193]

object Net_UserAgent_Mobile_Display makeDisplay( )

create a new Net_UserAgent_Mobile_Display class instance

Overrides Net_UserAgent_Mobile_Common::makeDisplay() (create a new Net_UserAgent_Mobile_Display class instance (should be implemented in subclasses))
[ Top ]

parse   [line 157]

void parse( )

parse HTTP_USER_AGENT string
  • Access: public

Overrides Net_UserAgent_Mobile_Common::parse() (parse HTTP_USER_AGENT string (should be implemented in subclasses))
[ Top ]


Documentation generated on Fri, 30 Apr 2004 22:24:22 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.