Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

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