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

Class: Net_UserAgent_Mobile_GPS_Softbank

Source Location: /Net_UserAgent_Mobile_GPS-0.1.1/UserAgent/Mobile/GPS/Softbank.php

Class Overview

Net_UserAgent_Mobile_GPS_Provider
   |
   --Net_UserAgent_Mobile_GPS_Softbank

Net_UserAgent_Mobile_GPS_Softbank class


Author(s):

Version:

  • Release: 0.0.1

Copyright:

  • 2008 Kei Horikita

Methods


Inherited Variables

Inherited Methods

Class: Net_UserAgent_Mobile_GPS_Provider

Net_UserAgent_Mobile_GPS_Provider::getGPSLink()
Get Link for GPS This method return html <a>tag and url in array.
Net_UserAgent_Mobile_GPS_Provider::getGPSResponse()
Parse Response from GPS

Class Details

[line 66]
Net_UserAgent_Mobile_GPS_Softbank class

This class provides a method to create a link for GPS and to parse a response from GPS



[ Top ]


Method Detail

__construct (Constructor)   [line 79]

Net_UserAgent_Mobile_GPS_Softbank __construct( [object $agent = null])

Constructor, sets the User Agent object's
  • Access: public

Parameters:

object   $agent     Net_UserAgent_Mobile object

[ Top ]

getGPSLink   [line 97]

array getGPSLink( string $callback_url, [string $str = null])

Get Link for GPS
  • Return: array with the following items: (string)url, (string)tag
  • Access: public

Overrides Net_UserAgent_Mobile_GPS_Provider::getGPSLink() (Get Link for GPS This method return html <a>tag and url in array.)

Parameters:

string   $callback_url     url to get GPS information and return
string   $str     string for link <a href=''>string</a>

[ Top ]

getGPSResponse   [line 119]

array getGPSResponse( )

Parse Response from GPS
  • Return: array with the following items: (string)longitude, (string)latitude
  • Access: public

Overrides Net_UserAgent_Mobile_GPS_Provider::getGPSResponse() (Parse Response from GPS)
[ Top ]


Documentation generated on Tue, 16 Sep 2008 10:30:05 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.