Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 32 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32 Rev 36
Line 7... Line 7...
7
    protected $connexion;
7
    protected $connexion;
8
    protected $contexte;
8
    protected $contexte;
9
    protected $newContexte;
9
    protected $newContexte;
10
    protected $dblock;
10
    protected $dblock;
Line 11... Line 11...
11
    
11
    
12
    function __construct($aConn)
12
    function __construct($une_connexion)
13
    {
13
    {
14
        $this->connexion = $aConn;
14
        $this->connexion = $une_connexion;
Line 15... Line 15...
15
    }
15
    }
16
   
16
   
Line 22... Line 22...
22
    function recupererBlockDeDonnees()
22
    function recupererBlockDeDonnees()
23
    {
23
    {
24
        return $this->dblock;
24
        return $this->dblock;
25
    }
25
    }
Line 26... Line 26...
26
    
26
    
27
    function macroElementFactory($macroElementName,$parentDataBlock)
27
    function macroElementFactory($macro_element_nom, $block_donnees_parent)
28
    {
28
    {
29
        require_once EFSE_CHEMIN_MV_MACRO.$macroElementName.'.php';
29
        require_once EFSE_CHEMIN_MV_MACRO.$macro_element_nom.'.php';
30
        $aMacroElement = new $macroElementName($this->connexion,$parentDataBlock,$macroElementName);
30
        $un_macro_element = new $macro_element_nom($this->connexion, $block_donnees_parent, $macro_element_nom);
31
        return $aMacroElement;
31
        return $un_macro_element;
32
    }
32
    }
33
}
33
}
34
?>
34
?>