/** * * * @param * @access private * @return void */ private function sendRequestSearch() { $param = array('code_adherent' => $GLOBALS['front']->user->code_adherent, 'code_arret' => array(0 => intval($this->vars['depart']), 1 => intval($this->vars['arrive'])), 'horaire' => div::ddmmyyToyyyymmddhhmmss($this->vars['date'], $this->vars['heure'], $this->vars['min']), 'horaire_audepart' => true, 'nb_personnes' => $this->vars['nombre'], 'cod_motdep' => 1); $reponse = $this->webtod->getResponseParse('reservation', 'ServiceCreerReservation', $param, 'reservation', 'ServiceCreerReservation-form.xml'); /*div::debug($reponse, '$reponse');*/ foreach ($reponse['header']['statut'] as $k => $v) { if ($v['code'] == '-10C01102') { return $this->markerPeriod($reponse['body']); } } return false; }