Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 32 Rev 36
1
<?php
1
<?php
2
 
2
 
3
require_once 'eflore_macro_element.class.php';
3
require_once 'eflore_macro_element.class.php';
4
 
4
 
5
abstract class groupeMacroElement implements iModel{
5
abstract class groupeMacroElement implements iModel{
6
    
6
    
7
    protected $connexion;
7
    protected $connexion;
8
    protected $contexte;
8
    protected $contexte;
9
    protected $newContexte;
9
    protected $newContexte;
10
    protected $dblock;
10
    protected $dblock;
11
    
11
    
12
    function __construct($aConn)
12
    function __construct($une_connexion)
13
    {
13
    {
14
        $this->connexion = $aConn;
14
        $this->connexion = $une_connexion;
15
    }
15
    }
16
   
16
   
17
    function contruire()
17
    function contruire()
18
    {
18
    {
19
        
19
        
20
    }
20
    }
21
    
21
    
22
    function recupererBlockDeDonnees()
22
    function recupererBlockDeDonnees()
23
    {
23
    {
24
        return $this->dblock;
24
        return $this->dblock;
25
    }
25
    }
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
?>