Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev Author Line No. Line
114 jpm 1
<?php
2
class recherchenomverna 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_VERNA');
11
 
170 jpm 12
        // Radical à rechercher
114 jpm 13
        if (array_key_exists('radical', $_REQUEST)) {
14
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
15
        }
16
 
170 jpm 17
        // Numéro de version du projet
18
        if (array_key_exists('nvp', $_REQUEST)) {
19
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
20
        }
21
 
114 jpm 22
        $this->construireContexte();
23
        $this->ajouterMacroElement();
24
    }
25
 
26
    function construireContexte()
27
    {
28
 
29
    }
30
 
31
    function ajouterMacroElement()
32
    {
173 jpm 33
        $un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
34
        $un_macro_element->construire();
114 jpm 35
        $un_macro_element = $this->macroElementFactory('VERNACULAIRE_RECHERCHE', $this->dblock);
36
        $un_macro_element->construire();
37
    }
38
 
39
}
40
?>