Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 28 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
28 jpm 1
<?php
2
class selectionnoms extends groupeMacroElement {
36 jpm 3
    function __construct($une_connexion)
28 jpm 4
    {
36 jpm 5
        parent::__construct($une_connexion);
28 jpm 6
    }
7
 
8
    function construire()
9
    {
36 jpm 10
        $this->dblock = new blockdedonnees('FICHE_LISTE_NOMS');
28 jpm 11
 
36 jpm 12
        if (array_key_exists('radical', $_REQUEST)) {
13
            $this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
28 jpm 14
        }
15
 
16
        if (array_key_exists('rang',$_REQUEST)) {
36 jpm 17
            $this->dblock->ajouterDonnee('rang', $_REQUEST['rang']);
28 jpm 18
        }
19
 
36 jpm 20
        $this->construireContexte();
21
        $this->ajouterMacroElement();
22
    }
28 jpm 23
 
36 jpm 24
    function construireContexte()
28 jpm 25
    {
26
 
27
    }
28
 
36 jpm 29
    function ajouterMacroElement()
28 jpm 30
    {
36 jpm 31
        /*balise:NOM_SELECTION*/
32
        $un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
33
        $un_macro_element->construire();
28 jpm 34
    }
35
 
36
}
37
?>