Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 97 → Rev 98

/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/synthese.php
13,6 → 13,10
$this->dblock->ajouterDonnee('nn', $_REQUEST['nn']);
}
if (array_key_exists('nvp', $_REQUEST)) {
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}
26,14 → 30,17
{
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
$un_macro_element->construire();
$un_macro_element = $this->macroElementFactory('NOM_SELECTION_PROJETS', $this->dblock);
$un_macro_element->construire();
if (!isset($_REQUEST['nvp'])) {
// La valeur par défaut 3 qui correspond à la BDNFF.
$this->dblock->attribuerContexteValeur('FICHE_SYNTHESE', 'nvp', 3);
}
$un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
$un_macro_element->construire();
if (!isset($_REQUEST['nt'])) {
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nt', 'et_id_taxon');
$this->dblock->attribuerContexteSql('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);