Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 27 Rev 32
1
<?
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($aConn)
13
   {
13
    {
14
       $this->connexion = $aConn;
14
        $this->connexion = $aConn;
15
   }
-
 
16
   
-
 
17
   function contruire()
-
 
-
 
15
    }
-
 
16
   
-
 
17
    function contruire()
18
   {
18
    {
-
 
19
        
19
   
20
    }
20
   }
21
    
21
    function recupererBlockDeDonnees()
22
    function recupererBlockDeDonnees()
22
    {
23
    {
23
        return $this->dblock;
24
        return $this->dblock;
24
    }
25
    }
25
   
-
 
26
 
-
 
27
    
-
 
28
    
26
    
29
    function macroElementFactory($macroElementName,$parentDataBlock)
27
    function macroElementFactory($macroElementName,$parentDataBlock)
30
    {
28
    {
31
        
-
 
32
        
-
 
33
        require_once EFSE_CHEMIN_MV_MACRO.$macroElementName.'.php';
29
        require_once EFSE_CHEMIN_MV_MACRO.$macroElementName.'.php';
34
        $aMacroElement = new $macroElementName($this->connexion,$parentDataBlock,$macroElementName);
30
        $aMacroElement = new $macroElementName($this->connexion,$parentDataBlock,$macroElementName);
35
        return $aMacroElement;
31
        return $aMacroElement;
36
    }
32
    }
37
 
-
 
38
}
33
}
39
 
-
 
40
?>
34
?>
41
35