Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 174 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
174 jp_milcent 1
<?php
177 jp_milcent 2
class infotaxonsup extends groupeMacroElement {
174 jp_milcent 3
    function __construct($une_connexion)
4
    {
5
        parent::__construct($une_connexion);
6
    }
7
 
8
    function construire()
9
    {
10
        $this->dblock = new blockdedonnees('FICHE_TAXON_SUPERIEUR');
11
 
12
        // Numéro de version du projet
13
        if (array_key_exists('nvp', $_REQUEST)) {
14
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
15
        }
16
 
17
        // Ordre
18
        if (array_key_exists('nt', $_REQUEST)) {
19
            $this->dblock->ajouterDonnee('nt', $_REQUEST['nt']);
20
        }
21
 
22
        $this->construireContexte();
23
        $this->ajouterMacroElement();
24
    }
25
 
26
    function construireContexte()
27
    {
28
 
29
    }
30
 
31
    function ajouterMacroElement()
32
    {
33
        $un_macro_element = $this->macroElementFactory('TAXON_SUPERIEUR', $this->dblock);
34
        $un_macro_element->construire();
35
        //echo '<pre>'.print_r($this->dblock, true).'</pre>';
36
    }
37
 
38
}
39
?>