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

Class: Net_UserAgent_Mobile

Source Location: /Net_UserAgent_Mobile-0.1/Mobile.php

Class Overview


HTTP mobile user agent string parser


Author(s):

Version:

  • $Revision: 1.1 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 75]
HTTP mobile user agent string parser

Net_UserAgent_Mobile parses HTTP_USER_AGENT strings of (mainly Japanese) mobile HTTP user agents. It'll be useful in page dispatching by user agents. This package was ported from Perl's HTTP::MobileAgent. See http://search.cpan.org/search?mode=module&query=HTTP-MobileAgent The author of the HTTP::MobileAgent module is Tatsuhiko Miyagawa <miyagawa@bulknews.net>



[ Top ]


Method Detail

factory   [line 96]

object Net_UserAgent_Mobile_Common &factory( [mixed $stuff = NULL])

create a new Net_UserAgent_Mobile_Common concrete class instance

parses HTTP headers and constructs Net_UserAgent_Mobile_Common subclass instance. If no argument is supplied, $_SERVER{'HTTP_*'} is used.

  • Return: subclass instance
  • See: PEAR::getStaticProperty()
  • See: Net_UserAgent_Mobile_Request::factory()
  • Static: This method can be called statically
  • Access: public

Parameters:

mixed   $stuff     User-Agent string or object that works with HTTP Request (not implemented)

[ Top ]


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