Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 112 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 112 Rev 170
Line 7... Line 7...
7
    
7
    
8
    function construire()
8
    function construire()
9
    {
9
    {
Line -... Line 10...
-
 
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)) {
Line -... Line 14...
-
 
14
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
13
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
15
        }
14
        }
16
        
15
        
17
        // Rang des noms
Line -... Line 18...
-
 
18
        if (array_key_exists('rang',$_REQUEST)) {
-
 
19
            $this->dblock->ajouterDonnee('rang', $_REQUEST['rang']);
-
 
20
        }
-
 
21
        
-
 
22
        // Numéro de version du projet
16
        if (array_key_exists('rang',$_REQUEST)) {
23
        if (array_key_exists('nvp', $_REQUEST)) {
17
            $this->dblock->ajouterDonnee('rang', $_REQUEST['rang']);
24
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
18
        }
25
        }
Line 19... Line 26...
19
        
26
        
Line 26... Line 33...
26
        
33
        
Line 27... Line 34...
27
    }
34
    }
28
    
35
    
-
 
36
    function ajouterMacroElement()
-
 
37
    {
29
    function ajouterMacroElement()
38
        $un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
30
    {
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);
Line 32... Line 41...
32
        $un_macro_element->construire();
41
        $un_macro_element->construire();