Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 170 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 170 Rev 173
1
<?php
1
<?php
2
class recherchenomverna extends groupeMacroElement {
2
class recherchenomverna extends groupeMacroElement {
3
    function __construct($une_connexion)
3
    function __construct($une_connexion)
4
    {
4
    {
5
        parent::__construct($une_connexion);
5
        parent::__construct($une_connexion);
6
    }
6
    }
7
    
7
    
8
    function construire()
8
    function construire()
9
    {
9
    {
10
        $this->dblock = new blockdedonnees('FICHE_LISTE_NOMS_VERNA');
10
        $this->dblock = new blockdedonnees('FICHE_LISTE_NOMS_VERNA');
11
        
11
        
12
        // Radical à rechercher
12
        // Radical à rechercher
13
        if (array_key_exists('radical', $_REQUEST)) {
13
        if (array_key_exists('radical', $_REQUEST)) {
14
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
14
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
15
        }
15
        }
16
        
16
        
17
        // Numéro de version du projet
17
        // Numéro de version du projet
18
        if (array_key_exists('nvp', $_REQUEST)) {
18
        if (array_key_exists('nvp', $_REQUEST)) {
19
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
19
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
20
        }
20
        }
21
        
21
        
22
        $this->construireContexte();
22
        $this->construireContexte();
23
        $this->ajouterMacroElement();
23
        $this->ajouterMacroElement();
24
    }
24
    }
25
    
25
    
26
    function construireContexte()
26
    function construireContexte()
27
    {
27
    {
28
        
28
        
29
    }
29
    }
30
    
30
    
31
    function ajouterMacroElement()
31
    function ajouterMacroElement()
32
    {
32
    {
-
 
33
        $un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
-
 
34
        $un_macro_element->construire();
33
        $un_macro_element = $this->macroElementFactory('VERNACULAIRE_RECHERCHE', $this->dblock);
35
        $un_macro_element = $this->macroElementFactory('VERNACULAIRE_RECHERCHE', $this->dblock);
34
        $un_macro_element->construire();
36
        $un_macro_element->construire();
35
    }
37
    }
36
    
38
    
37
}
39
}
38
?>
40
?>