pb.php

Go to the documentation of this file.
00001 <?php
00013 require_once(dirname(__FILE__).'/base.php');    
00014  
00023 class LFSWorldPersonalBests extends LFSWorldDataProvider
00024 {
00029     var $m_sURL = 'http://www.lfsworld.net/pubstat/get_stat2.php?action=pb';
00030     
00035     var $m_aSrcMetaData = array('lifeTime' => 60, 'actualTarpit' => 5);
00036 
00053     function _parseLine($line)
00054     {
00055         $return = array();
00056         $line = explode(' ', $line);
00057         $return['track'] = array_shift($line);
00058         $return['car'] = array_shift($line);
00059         $return['time'] = array_shift($line);
00060         $return['laps'] = array_shift($line);
00061         return $return;
00062     }
00063     
00071     function initParams(&$params)
00072     {
00073         return (parent::initParams($params) && isset($params['racer']));
00074     }
00075 }
00076 
00077 ?>

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