Inheritance diagram for LFSWorldDataProvider:
Public Member Functions | |
LFSWorldDataProvider ($srcMetaData=array(), $params=array()) | |
parse ($rawList, &$outputList) | |
getData () | |
getParams () | |
getSrcMetaData () | |
getURL () | |
initParams (&$params) | |
getLastRequestTime () | |
saveRequestTime () | |
Protected Member Functions | |
_init () | |
Protected Attributes | |
$m_oRequest = null | |
$m_aSrcMetaData = array() | |
$m_aParams = array() |
Definition at line 23 of file base.php.
|
LFSWorldDataProvider base class Ctor.
Definition at line 51 of file base.php. References _init(). |
|
Initialisation function called at the end of the ctor. This func allows for per-provider init without having to recreate a base class compatible ctor. Definition at line 65 of file base.php. Referenced by LFSWorldDataProvider(). |
|
Makes the HTTP request and performs decompression / error checking etc.
Definition at line 103 of file base.php. References getURL(), isLFSWorldError(), parse(), PPFDecompress(), and saveRequestTime(). |
|
Retrieves a UNIX timestamp representing the last time this provider made a request.
Definition at line 244 of file base.php. Referenced by initParams(). |
|
Accessor method for retrieving the params stored in this instance.
|
|
Accessor method for retrieving the meta data stored in this instance.
|
|
Accessor method for retrieving the base url of the data source.
Reimplemented in LFSWorldHighlights. Definition at line 171 of file base.php. Referenced by getData(). |
|
Checks and adjusts input parameters where required & possible.
Reimplemented in LFSWorldChart, LFSWorldHighlights, LFSWorldHotlaps, LFSWorldHotlapLog, LFSWorldPersonalBests, LFSWorldPersonalStats, and LFSWorldWorldRecords. Definition at line 183 of file base.php. References getLastRequestTime(), and PPFCanDecompress(). |
|
Parses the raw data from LFSWorld in to an array.
Reimplemented in LFSWorldHighlights, LFSWorldHotlapLog, LFSWorldHostsList, LFSWorldPersonalStats, and LFSWorldTeamsList. Definition at line 77 of file base.php. Referenced by getData(). |
|
Saves the current time as the last time of a request for this provider.
Definition at line 258 of file base.php. References $s. Referenced by getData(). |
|
(Array) An array of parameters to be merged with the runtime and static parameters in order to specify how the parser should execute. |
|
(Array) An array of meta data possibly useful to other parts of a program. (Such as tarpit duration) Reimplemented in LFSWorldHighlights, LFSWorldHotlaps, LFSWorldHotlapLog, LFSWorldHostsList, LFSWorldPersonalBests, LFSWorldPersonalStats, LFSWorldTeamsList, and LFSWorldWorldRecords. |
|
(Object) The PEAR HTTP_Request object. |