Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
134 jpm 1
<?php
2
class rechercheclassification 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_LISTE_TAXONS');
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
        // Rang
18
        if (array_key_exists('rg', $_REQUEST)) {
19
            $this->dblock->ajouterDonnee('rg', $_REQUEST['rg']);
20
        }
21
 
22
        // Ordre
23
        if (array_key_exists('nt', $_REQUEST)) {
24
            $this->dblock->ajouterDonnee('nt', $_REQUEST['nt']);
25
        }
26
 
27
        $this->construireContexte();
28
        $this->ajouterMacroElement();
29
    }
30
 
31
    function construireContexte()
32
    {
33
 
34
    }
35
 
36
    function ajouterMacroElement()
37
    {
38
        $un_macro_element = $this->macroElementFactory('TAXON_RECHERCHE_CLASSIFICATION', $this->dblock);
39
        $un_macro_element->construireParRecursivite(0);
40
        //echo '<pre>'.print_r($this->dblock, true).'</pre>';
41
    }
42
 
43
}
44
?>