LFSWorldTeamsList Class Reference

Inheritance diagram for LFSWorldTeamsList:

LFSWorldDataProvider List of all members.

Public Member Functions

 parse ($rawList, &$outputList)

Protected Attributes

 $m_sURL = 'http://www.lfsworld.net/pubstat/get_stat2.php?action=teams'
 $m_aSrcMetaData = array('lifeTime' => 180, 'actualTarpit' => 180)

Detailed Description

Class for parsing LFSWorld teams list.

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

Definition at line 23 of file teams.php.


Member Function Documentation

LFSWorldTeamsList::parse rawList,
&$  outputList
 

Get the entire teams database stored on lfs world

Raw list format

 requires:-
 optional:-
 returns: TEAM STRUCT:

 TEAM          [64]
 TAG           [6]
 COUNTRY       [32]
 URL           [64]
 BITS          [4]
 INFO_LEN      [2]
 INFO          [INFO_LEN]  (Note : urlencoded)
 NR_MEMBERS    [2]
 MEMBERS       [24] * NR_MEMBERS

 BITS :
 1 : race
 2 : drift
 4 : drag
 8 : can apply
 16 : has host
 32 : Demo
 64 : S1
 128 : S2
 256 : S3
 

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 74 of file teams.php.


Member Data Documentation

LFSWorldTeamsList::$m_aSrcMetaData = array('lifeTime' => 180, 'actualTarpit' => 180) [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 teams.php.

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

The base url of this data source.

Definition at line 29 of file teams.php.


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