control.php

Go to the documentation of this file.
00001 <?php
00013 if(!class_exists('PPFBaseLookup'))
00014     include dirname(__FILE__).'/baselookup.php';
00015     
00023 class PPFControlMethods extends PPFBaseLookup
00024 {
00033     function getLookupArray($from, $to, $ignore=array())
00034     {
00035         static $indexes;
00036 
00037         if($indexes == null)
00038         {
00039             $indexes =  array(  'bits'=>array(  1,
00040                                                 2,
00041                                                 4,
00042                                                 8,
00043                                                 16,
00044                                                 32,
00045                                                 64),
00046 
00047                                 'words'=>array( 'Vote',
00048                                                 'Select',
00049                                                 'Qualify',
00050                                                 'Private',
00051                                                 'Modified',
00052                                                 'Mid race join',
00053                                                 'Must pit'),
00054 
00055                                 'codes'=>array( 'v',
00056                                                 's',
00057                                                 'q',
00058                                                 'p',
00059                                                 'm',
00060                                                 'j',
00061                                                 't'),
00062                                                 
00063                                 'lfswcodes'=>array( 'V',
00064                                             'S',
00065                                             'Q',
00066                                             'P',
00067                                             'M',
00068                                             '<span style="font-style: italic;">j</span>',
00069                                             '<span style="font-style: italic;">p</span>'));
00070         }
00071 
00072         return parent::getBaseLookup($indexes, $from, $to, $ignore);
00073     }
00074 }
00075 ?>

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