Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 63 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
63 jpm 1
<?php
2
class synthese extends groupeMacroElement {
3
    function __construct($une_connexion)
4
    {
5
        parent::__construct($une_connexion);
6
    }
7
 
8
    function construire()
9
    {
10
        $this->dblock = new blockdedonnees('FICHE_SYNTHESE');
11
 
12
        if (array_key_exists('nn', $_REQUEST)) {
13
            $this->dblock->ajouterDonnee('nn', $_REQUEST['nn']);
14
        }
15
 
16
        $this->construireContexte();
17
        $this->ajouterMacroElement();
18
    }
19
 
20
    function construireContexte()
21
    {
22
 
23
    }
24
 
25
    function ajouterMacroElement()
26
    {
74 jpm 27
        /*balise:NOM_LATIN*/
28
        $un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
63 jpm 29
        $un_macro_element->construire();
74 jpm 30
        /*balise:NOM_SELECTION*/
31
        $un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
32
        $un_macro_element->construire();
33
        $this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nt', 'et_id_taxon');
34
        $this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nvp', 'eprv_id_version');
35
        /*balise:TAXON_NOMS*/
36
        $un_macro_element = $this->macroElementFactory('TAXON_NOMS', $this->dblock);
37
        $un_macro_element->construire();
38
        $un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
39
        $un_macro_element->construire();
40
        //$this->dblock->afficher();
63 jpm 41
    }
42
 
43
}
44
?>