LFSWorldPersonalBests Class Reference

Inheritance diagram for LFSWorldPersonalBests:

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=pb'
 $m_aSrcMetaData = array('lifeTime' => 60, 'actualTarpit' => 5)

Detailed Description

Class for parsing LFSWorld PB lists.

Version:
2.0.00
Author:
Michael Simons <ixulai@gmail.com> http://creativecommons.org/licenses/by/2.5/ Creative Commons

Definition at line 23 of file pb.php.


Member Function Documentation

LFSWorldPersonalBests::_parseLine line  )  [protected]
 

Parses an individual line entry from LFSWorld.

Raw entry format

 requires:&racer=RACER
 optional:-
 returns:TRACK CAR TIME LAP_COUNT
 

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

Definition at line 53 of file pb.php.

LFSWorldPersonalBests::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 parameters are ok, false otherwise.

Reimplemented from LFSWorldDataProvider.

Definition at line 71 of file pb.php.


Member Data Documentation

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

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

Reimplemented from LFSWorldDataProvider.

Definition at line 35 of file pb.php.

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

The base url of this data source.

Definition at line 29 of file pb.php.


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