Subversion Repositories eFlore/Applications.cel

Rev

Rev 1590 | Rev 1628 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1590 Rev 1598
Line 46... Line 46...
46
    	$observation = array();
46
    	$observation = array();
47
    	if(is_array($retour_recherche) && count($retour_recherche) > 0) {
47
    	if(is_array($retour_recherche) && count($retour_recherche) > 0) {
48
    		$observation = $retour_recherche[0];
48
    		$observation = $retour_recherche[0];
49
    	}
49
    	}
Line 50... Line 50...
50
    	
50
    	
51
        $observation = $this->formaterObservationVersTableauSequentiel(&$observation);
51
        $observation = $this->formaterObservationVersTableauSequentiel($observation);
Line 52... Line 52...
52
		$output = json_encode($observation);
52
		$output = json_encode($observation);
53
		
53
		
54
		$this->envoyerJson($output);			
54
		$this->envoyerJson($output);			
Line 55... Line 55...
55
		return true;	
55
		return true;	
Line 56... Line 56...
56
	}
56
	}
57
	
57
	
58
	private function formaterObservationVersTableauSequentiel($observation) {
58
	private function formaterObservationVersTableauSequentiel(&$observation) {
59
		
59