00001 <?php
00013 if(!class_exists('PPFBaseLookup'))
00014 include dirname(__FILE__).'/baselookup.php';
00015
00022 class PPFRules extends PPFBaseLookup
00023 {
00041 function getLookupArray($from, $to, $ignore=array())
00042 {
00043 static $indexes;
00044
00045 if($indexes == null)
00046 {
00047 $indexes = array( 'zbi'=>array( 0,
00048 1,
00049 2,
00050 3,
00051 4,
00052 5,
00053 6),
00054
00055 'bits'=>array( 1,
00056 2,
00057 4,
00058 8,
00059 16,
00060 32,
00061 64),
00062
00063 'words'=>array( 'Vote',
00064 'Select',
00065 'Qualify',
00066 'Private',
00067 'Modified',
00068 'Mid race join',
00069 'Must pit'),
00070
00071 'codes'=>array( 'v',
00072 's',
00073 'q',
00074 'p',
00075 'm',
00076 'j',
00077 't'),
00078
00079 'lfswcodes'=>array( 'V',
00080 'S',
00081 'Q',
00082 'P',
00083 'M',
00084 '<span style="font-style: italic;">j</span>',
00085 '<span style="font-style: italic;">p</span>'));
00086 }
00087
00088 return parent::getLookupArray($indexes, $from, $to, $ignore);
00089 }
00090 }
00091 ?>