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

Class: Net_UserAgent_Mobile_GPS_Ezweb

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

Class Overview

Net_UserAgent_Mobile_GPS_Provider
   |
   --Net_UserAgent_Mobile_GPS_Ezweb

Net_UserAgent_Mobile_GPS_Ezweb 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_Ezweb 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_Ezweb __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 112]

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 Mon, 11 Mar 2019 15:25:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.