Rev 63 | Blame | Last modification | View Log | RSS feed
<?php
class synthese extends groupeMacroElement {
function __construct($une_connexion)
{
parent::__construct($une_connexion);
}
function construire()
{
$this->dblock = new blockdedonnees('FICHE_SYNTHESE');
if (array_key_exists('nn', $_REQUEST)) {
$this->dblock->ajouterDonnee('nn', $_REQUEST['nn']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}
function construireContexte()
{
}
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*/
$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->construire();
//$this->dblock->afficher();
}
}
?>