Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
27 jpm 1
<?
2
 
3
require_once 'eflore_macro_element.class.php';
4
 
5
abstract class groupeMacroElement implements iModel{
6
 
7
    protected $connexion;
8
    protected $contexte;
9
    protected $newContexte;
10
    protected $dblock;
11
 
12
   function __construct($aConn)
13
   {
14
       $this->connexion = $aConn;
15
   }
16
 
17
   function contruire()
18
   {
19
 
20
   }
21
    function recupererBlockDeDonnees()
22
    {
23
        return $this->dblock;
24
    }
25
 
26
 
27
 
28
 
29
    function macroElementFactory($macroElementName,$parentDataBlock)
30
    {
31
 
32
 
33
        require_once EFSE_CHEMIN_MV_MACRO.$macroElementName.'.php';
34
        $aMacroElement = new $macroElementName($this->connexion,$parentDataBlock,$macroElementName);
35
        return $aMacroElement;
36
    }
37
 
38
}
39
 
40
?>