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; |
} |