PPFTeamFlags Class Reference

Inheritance diagram for PPFTeamFlags:

PPFBaseLookup List of all members.

Public Member Functions

 getLookupArray ($from, $to, $ignore=array())

Detailed Description

Static class for creating lookup arrays between commonly used formats to represent team flags in LFS.

Version:
1.0.00

Definition at line 16 of file teamflags.php.


Member Function Documentation

PPFTeamFlags::getLookupArray from,
to,
ignore = array()
 

Public function for retrieving a lookup array from one format to another.

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

Parameters:
from (String) The source format. Valid values are 'zbi', 'bits', 'words'.
to (String) The target format. Valid values are 'zbi', 'bits', 'words'.
Returns:
(Array) An array providing a bridge between the two specified formats.

Definition at line 40 of file teamflags.php.


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