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

Class: Net_UserAgent_Mobile_GPS_Provider

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

Class Overview


Net_UserAgent_Mobile_GPS_Provider


Author(s):

Version:

  • Release: 0.0.1

Copyright:

  • 2008 Kei Horikita

Methods


Child classes:

Net_UserAgent_Mobile_GPS_Ezweb
Net_UserAgent_Mobile_GPS_Ezweb class
Net_UserAgent_Mobile_GPS_Softbank
Net_UserAgent_Mobile_GPS_Softbank class
Net_UserAgent_Mobile_GPS_Docomo
Net_UserAgent_Mobile_GPS_Docomo class
Net_UserAgent_Mobile_GPS_Willcom
Net_UserAgent_Mobile_GPS_Willcom class

Inherited Variables

Inherited Methods


Class Details

[line 62]
Net_UserAgent_Mobile_GPS_Provider

This class defines methods for provider class.



[ Top ]


Method Detail

getGPSLink   [line 78]

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

Get Link for GPS This method return html <a>tag and url in array.

You should put <a>tag or <form>tag with the url from this return on your web page. When a user clicked the link or button, it changes on the page that you appointed as 'callback_url' with GPS information.

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

Overridden in child classes as:

Net_UserAgent_Mobile_GPS_Ezweb::getGPSLink()
Get Link for GPS
Net_UserAgent_Mobile_GPS_Softbank::getGPSLink()
Get Link for GPS
Net_UserAgent_Mobile_GPS_Docomo::getGPSLink()
Get Link for GPS
Net_UserAgent_Mobile_GPS_Willcom::getGPSLink()
Get Link for GPS

Parameters:

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

[ Top ]

getGPSResponse   [line 88]

array getGPSResponse( )

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

Overridden in child classes as:

Net_UserAgent_Mobile_GPS_Ezweb::getGPSResponse()
Parse Response from GPS
Net_UserAgent_Mobile_GPS_Softbank::getGPSResponse()
Parse Response from GPS
Net_UserAgent_Mobile_GPS_Docomo::getGPSResponse()
Parse Response from GPS
Net_UserAgent_Mobile_GPS_Willcom::getGPSResponse()
Parse Response from GPS

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:25:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.