LFSWorldChart Class Reference

Inheritance diagram for LFSWorldChart:

LFSWorldDataProvider List of all members.

Public Member Functions

 initParams (&$params)

Protected Member Functions

 _parseLine ($line)

Protected Attributes

 $m_sURL = 'http://www.lfsworld.net/pubstat/get_stat2.php?action=ch'
 $m_aCacheData = array('lifeTime' => 60, 'actualTarpit'=>5)

Detailed Description

Class for parsing LFSWorld chart list.

Version:
2.0.00

Definition at line 21 of file ch.php.


Member Function Documentation

LFSWorldChart::_parseLine line  )  [protected]
 

Parses an individual line entry from LFSWorld.

Raw entry format

 requires:&track=TRACK&car=CAR
 optional:&control=STEERING
 returns:TIME FLAGS_HLAPS RACERNAME
 

See also:
LFSWorldDataProvider::parse()
Parameters:
line (String) The raw chunk to be parsed
Returns:
(Array) The parsed entry as an array.

Definition at line 51 of file ch.php.

LFSWorldChart::initParams &$  params  ) 
 

Checks and adjusts input parameters where required & possible.

Parameters:
params (&Array) An array of the params that are set.
Returns:
(Boolean) True if the required parameters are set, false otherwise.

Reimplemented from LFSWorldDataProvider.

Definition at line 69 of file ch.php.


Member Data Documentation

LFSWorldChart::$m_aCacheData = array('lifeTime' => 60, 'actualTarpit'=>5) [protected]
 

(Array) An array of meta data possibly useful to other parts of a program. (Such as tarpit duration)

Definition at line 33 of file ch.php.

LFSWorldChart::$m_sURL = 'http://www.lfsworld.net/pubstat/get_stat2.php?action=ch' [protected]
 

(String) The base url of this data source.

Definition at line 27 of file ch.php.


Generated on Wed Oct 25 03:13:33 2006 for LFSWorldParsingProviderFramework by  doxygen 1.4.6