Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 28 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 36
1
<?php
1
<?php
2
class selectionnoms extends groupeMacroElement {
2
class selectionnoms extends groupeMacroElement {
3
    function __construct($aConn)
3
    function __construct($une_connexion)
4
    {
4
    {
5
        parent::__construct($aConn);
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
        if (array_key_exists('radical',$_REQUEST)) {
12
        if (array_key_exists('radical', $_REQUEST)) {
13
            $this->dblock->ajouterDonnee('radical',$_REQUEST['radical']);
13
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
14
        }
14
        }
15
        
15
        
16
        if (array_key_exists('rang',$_REQUEST)) {
16
        if (array_key_exists('rang',$_REQUEST)) {
17
            $this->dblock->ajouterDonnee('rang',$_REQUEST['rang']);
17
            $this->dblock->ajouterDonnee('rang', $_REQUEST['rang']);
18
        }
18
        }
19
        
19
        
20
        $this->buildContext();
20
        $this->construireContexte();
21
        $this->addMacroElement();
21
        $this->ajouterMacroElement();
22
    } 
22
    }
23
    
23
    
24
    function buildContext()
24
    function construireContexte()
25
    {
25
    {
26
        
26
        
27
    }
27
    }
28
    
28
    
29
    function addMacroElement()
29
    function ajouterMacroElement()
30
    {
30
    {
31
    /*balise:NOM_SELECTION*/
31
        /*balise:NOM_SELECTION*/
32
    $aMacroElement = $this->macroElementFactory('NOM_SELECTION',$this->dblock);
32
        $un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
33
    $aMacroElement->construire();
33
        $un_macro_element->construire();
34
    }
34
    }
35
    
35
    
36
}
36
}
37
?>
37
?>