Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
123 jpm 1
<?php
2
class formulairetaxonomique extends groupeMacroElement {
3
    function __construct($une_connexion)
4
    {
5
        parent::__construct($une_connexion);
6
    }
7
 
8
    function construire()
9
    {
10
        $this->dblock = new blockdedonnees('FORMULAIRE_TAXONOMIQUE');
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('od',$_REQUEST)) {
24
            $this->dblock->ajouterDonnee('od', $_REQUEST['od']);
25
        }
26
 
27
        // Lettre du début du nom
28
        if (array_key_exists('le',$_REQUEST)) {
29
            $this->dblock->ajouterDonnee('le', $_REQUEST['le']);
30
        }
31
 
32
        $this->construireContexte();
33
        $this->ajouterMacroElement();
34
    }
35
 
36
    function construireContexte()
37
    {
38
 
39
    }
40
 
41
    function ajouterMacroElement()
42
    {
43
        $un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
44
        $un_macro_element->construire();
45
        $un_macro_element = $this->macroElementFactory('TAXON_RECHERCHE', $this->dblock);
46
        $un_macro_element->construire();
47
    }
48
 
49
}
50
?>