Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 81 → Rev 82

/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/synthese.php
24,19 → 24,25
function ajouterMacroElement()
{
/*balise:NOM_LATIN*/
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
$un_macro_element->construire();
/*balise:NOM_SELECTION*/
$un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
$un_macro_element->construire();
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nt', 'et_id_taxon');
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nvp', 'eprv_id_version');
/*balise:TAXON_NOMS*/
if (!isset($_REQUEST['nt'])) {
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nt', 'et_id_taxon');
}
if (!isset($_REQUEST['nvp'])) {
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nvp', 'eprv_id_version');
}
$un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
$un_macro_element->construire();
$un_macro_element = $this->macroElementFactory('TAXON_NOMS', $this->dblock);
$un_macro_element->construire();
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
$un_macro_element = $this->macroElementFactory('FICHE_SYNTHESE>TAXON_NOMS>NOM_LATIN', $this->dblock);
$un_macro_element->construire();
$un_macro_element = $this->macroElementFactory('VERNACULAIRE_NOMS', $this->dblock);
$un_macro_element->construire();
//echo '<pre>'.print_r($this->dblock, true).'</pre>';
//$this->dblock->afficher();
}