Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev Author Line No. Line
112 jpm 1
<?php
2
class recherchenomlatin 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_NOMS');
11
 
170 jpm 12
        // Radical du nom recherché
112 jpm 13
        if (array_key_exists('radical', $_REQUEST)) {
14
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
15
        }
16
 
170 jpm 17
        // Rang des noms
112 jpm 18
        if (array_key_exists('rang',$_REQUEST)) {
19
            $this->dblock->ajouterDonnee('rang', $_REQUEST['rang']);
20
        }
21
 
170 jpm 22
        // Numéro de version du projet
23
        if (array_key_exists('nvp', $_REQUEST)) {
24
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
25
        }
26
 
112 jpm 27
        $this->construireContexte();
28
        $this->ajouterMacroElement();
29
    }
30
 
31
    function construireContexte()
32
    {
33
 
34
    }
35
 
36
    function ajouterMacroElement()
37
    {
170 jpm 38
        $un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
39
        $un_macro_element->construire();
112 jpm 40
        $un_macro_element = $this->macroElementFactory('NOM_RECHERCHE', $this->dblock);
41
        $un_macro_element->construire();
42
    }
43
 
44
}
45
?>