public function getArrayData($id, $sens = 1, $date)
	{
		$this->date = $date;
		
		$this->uri =  new Uri('/horaires_ligne/index.asp');
		$this->uri->addParam('rub_code', 6);
		$this->uri->addParam('thm_id', 2);
		$this->uri->addParam('gpl_id', 0);
		$this->uri->addParam('lign_id', $id);
		$this->uri->addParam('sens', $sens);
		$this->uri->addParam('date', $this->date->format('d/m/Y'));
		
		return $this->allHours();
	}
public function getArrayData($id, $sens = 1, $date)
	{
		$this->date = $date;
		
		$this->uri =  new Uri('/horaires_ligne/index.asp');
		$this->uri->addParam('rub_code', 6);
		$this->uri->addParam('thm_id', 2);
		$this->uri->addParam('gpl_id', 0);
		$this->uri->addParam('lign_id', $id);
		$this->uri->addParam('sens', $sens);
		$this->uri->addParam('date', $this->date->format('d/m/Y'));
		
		return $this->allHours();
	}
public function getArrayData ( $ id , $ sens = 1 , $ date ) { $ this -> date = $ date ; $ this -> uri = new Uri ( '/horaires_ligne/index.asp' ) ; $ this -> uri -> addParam ( 'rub_code' , 6 ) ; $ this -> uri -> addParam ( 'thm_id' , 2 ) ; $ this -> uri -> addParam ( 'gpl_id' , 0 ) ; $ this -> uri -> addParam ( 'lign_id' , $ id ) ; $ this -> uri -> addParam ( 'sens' , $ sens ) ; $ this -> uri -> addParam ( 'date' , $ this -> date -> format ( 'd/m/Y' ) ) ; return $ this -> allHours ( ) ; }
Get array for an id
@param integer $id Line id
@param integer $sens 1 or 2
@param DateTime $date Schedule date
@return array Schedule in array representation
Get array for an id