Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev Author Line No. Line
123 jpm 1
<?php
2
class recherchetaxon 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('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
 
135 jpm 32
        // Numéro du taxon dans un projet
33
        if (array_key_exists('nt',$_REQUEST)) {
34
            $this->dblock->ajouterDonnee('nt', $_REQUEST['nt']);
35
        }
36
 
123 jpm 37
        $this->construireContexte();
38
        $this->ajouterMacroElement();
39
    }
40
 
41
    function construireContexte()
42
    {
43
 
44
    }
45
 
46
    function ajouterMacroElement()
47
    {
48
        $un_macro_element = $this->macroElementFactory('TAXON_RECHERCHE_ALPHABET', $this->dblock);
49
        $un_macro_element->construire();
135 jpm 50
        $un_macro_element = $this->macroElementFactory('TAXON_RECHERCHE_CLASSIFICATION', $this->dblock);
51
        $un_macro_element->construire();
123 jpm 52
    }
53
 
54
}
55
?>