Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 860 Rev 895
Line 32... Line 32...
32
			$retour = $this->executerRequeteLieu($uid[0]);
32
			$retour = $this->executerRequeteLieu($uid[0]);
33
		}
33
		}
Line 34... Line 34...
34
	
34
	
Line -... Line 35...
-
 
35
		$output = json_encode($retour);
35
		$output = json_encode($retour);
36
		
36
		
37
		header("content-type: application/json");
Line 37... Line 38...
37
		print($output);
38
		print($output);
38
	}
39
	}
Line 82... Line 83...
82
	
83
	
83
	private function formaterLigneResultat($ligne) {
84
	private function formaterLigneResultat($ligne) {
84
		return array($ligne['nom']." (".sprintf("%02s",$ligne['code']).")",$ligne['code']);
85
		return array($ligne['nom']." (".sprintf("%02s",$ligne['code']).")",$ligne['code']);
85
	}
86
	}
86
}
-
 
87
 
87
}
88
/* +--Fin du code ---------------------------------------------------------------------------------------+
88
/* +--Fin du code ---------------------------------------------------------------------------------------+
89
* $Log$
89
* $Log$
90
* Revision 1.4  2008-01-30 08:57:28  ddelon
90
* Revision 1.4  2008-01-30 08:57:28  ddelon
91
* fin mise en place mygwt
91
* fin mise en place mygwt
92
*
92
*
93
* Revision 1.3  2007-05-21 18:13:03  ddelon
93
* Revision 1.3  2007-05-21 18:13:03  ddelon
94
* Correction bug recherche commune du type "la canourgue"
94
* Correction bug recherche commune du type "la canourgue"
95
*
95
*
96
*
96
*
97
*/
-
 
98
 
-
 
99
 
-
 
100
 
97
*/
101
?>
98
?>