Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 156 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 195
Line 9... Line 9...
9
 * @category	php 5.2
9
 * @category	php 5.2
10
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
10
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
 * @copyright	2010 Tela-Botanica
11
 * @copyright	2010 Tela-Botanica
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
13
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
13
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
14
 * @version		SVN: $Id: Ontologie.php 156 2010-09-13 12:27:07Z jpm $
14
 * @version		SVN: $Id: Ontologie.php 195 2014-01-22 13:29:20Z aurelien $
15
 *
15
 *
16
 */
16
 */
17
class Ontologie {
17
class Ontologie {
18
	public static $ontologie_liste = array();
18
	public static $ontologie_liste = array();
19
	public static $ontologie_valeur = array(); 
19
	public static $ontologie_valeur = array(); 
Line 120... Line 120...
120
		$valeur_formatee = array();
120
		$valeur_formatee = array();
121
		if (is_array($valeur) && count($valeur) > 0) {
121
		if (is_array($valeur) && count($valeur) > 0) {
122
			$valeur_formatee = array(
122
			$valeur_formatee = array(
123
				'id' => $valeur['cmlv_id_valeur'],
123
				'id' => $valeur['cmlv_id_valeur'],
124
				'parent' => $valeur['cmlv_ce_parent'],
124
				'parent' => $valeur['cmlv_ce_parent'], 
125
				'projet' => $valeur['cmlv_ce_projet'], 
-
 
126
				'nom' => $valeur['cmlv_nom'],
125
				'nom' => $valeur['cmlv_nom'],
127
				'abreviation' => $valeur['cmlv_abreviation'],
126
				'abreviation' => $valeur['cmlv_abreviation'],
128
				'description' => $valeur['cmlv_description'],
127
				'description' => $valeur['cmlv_description'],
129
				'meta' => $valeur['cmlv_ce_meta']);
128
				'meta' => $valeur['cmlv_ce_meta']);
130
		}
129
		}