Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 32 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

<?php

require_once 'eflore_macro_element.class.php';

abstract class groupeMacroElement implements iModel{
    
    protected $connexion;
    protected $contexte;
    protected $newContexte;
    protected $dblock;
    
    function __construct($une_connexion)
    {
        $this->connexion = $une_connexion;
    }
   
    function contruire()
    {
        
    }
    
    function recupererBlockDeDonnees()
    {
        return $this->dblock;
    }
    
    function macroElementFactory($macro_element_nom, $block_donnees_parent)
    {
        require_once EFSE_CHEMIN_MV_MACRO.$macro_element_nom.'.php';
        $un_macro_element = new $macro_element_nom($this->connexion, $block_donnees_parent, $macro_element_nom);
        return $un_macro_element;
    }
}
?>