Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1534 → Rev 1535

/trunk/jrest/services/bibliotheque/Ontologie.php
15,9 → 15,9
$ontologie = array(0 => array('nom' => 'Non renseigné', 'abr' => 'NR'));
foreach ($metadonnees as $meta) {
$ontologie[$meta['cmlv_id_valeur']] = array(
'nom' => ((isset($meta['cmlv_nom']) ? $meta['cmlv_nom'] : null),
'abr' => ((isset($meta['cmlv_abreviation']) ? $meta['cmlv_abreviation'] : null),
'dsc' => ((isset($meta['cmlv_description']) ? $meta['cmlv_description'] : null));
'nom' => (isset($meta['cmlv_nom']) ? $meta['cmlv_nom'] : null),
'abr' => (isset($meta['cmlv_abreviation']) ? $meta['cmlv_abreviation'] : null),
'dsc' => (isset($meta['cmlv_description']) ? $meta['cmlv_description'] : null));
}
$this->ontologie = $ontologie;
}