LFSWorldHighlights Class Reference

Inheritance diagram for LFSWorldHighlights:

LFSWorldDataProvider List of all members.

Public Member Functions

 parse ($rawList, &$outputList)
 initParams (&$params)
 getURL ()

Protected Attributes

 $m_sURL = 'http://www.lfsworld.net/highlight_countries/highlights___COUNTRY__.txt'
 $m_aSrcMetaData = array('lifeTime' => 60, 'actualTarpit'=>0)
 $m_sCountry = null
 $m_bNoParse = false
 $m_aColourReplace

Detailed Description

Class for parsing LFSWorld highlights.

Version:
2.1.00

Definition at line 21 of file highlights.php.


Member Function Documentation

LFSWorldHighlights::getURL  ) 
 

LFSWorldDataProvider::getURL

Accessor method for retrieving the base url of the data source.

test

Returns:
The base url of the data source as a string.

Reimplemented from LFSWorldDataProvider.

Definition at line 163 of file highlights.php.

LFSWorldHighlights::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 131 of file highlights.php.

LFSWorldHighlights::parse rawList,
&$  outputList
 

Parses the raw data from LFSWorld in to an array.

add hlights specific car codes to car code lookup

Parameters:
rawList (String) The raw list retrieved from LFSWorld that needs to be parsed.
[out] outputList (Array) A reference to an array that will store the parsed output.
Returns:
(Boolean) True on success, false otherwise.

Reimplemented from LFSWorldDataProvider.

Definition at line 69 of file highlights.php.


Member Data Documentation

LFSWorldHighlights::$m_aColourReplace [protected]
 

Initial value:

 array('<FONT COLOR="#000000"' => '^0',
                                  '<FONT COLOR="#FF0000"' => '^1',
                                  '<FONT COLOR="#00FF00"' => '^2',
                                  '<FONT COLOR="#FFFF00"' => '^3',
                                  '<FONT COLOR="#0000FF"' => '^4',
                                  '<FONT COLOR="#FF00FF"' => '^5',
                                  '<FONT COLOR="#00FFFF"' => '^6',
                                  '<FONT COLOR="#FFFFFF"' => '^7')
(Array) Conversion array for HTML => LFS Colour code.

Definition at line 51 of file highlights.php.

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

(Array) An array of data possibly useful to other parts of the program.

Reimplemented from LFSWorldDataProvider.

Definition at line 33 of file highlights.php.

LFSWorldHighlights::$m_bNoParse = false [protected]
 

(Boolean) Whether or not to parse the strings in to arrays or leave them as raw strings.

Definition at line 45 of file highlights.php.

LFSWorldHighlights::$m_sCountry = null [protected]
 

(String) Specific country to get highlights for.

Definition at line 39 of file highlights.php.

LFSWorldHighlights::$m_sURL = 'http://www.lfsworld.net/highlight_countries/highlights___COUNTRY__.txt' [protected]
 

(String) The base url of this data source.

Definition at line 27 of file highlights.php.


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