Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 145 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?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($chemin_macro_element, $block_donnees_parent)
    {
        $etape_chemin = array_reverse(explode('>', $chemin_macro_element));
        $macro_element_nom = $etape_chemin[0];
        require_once EFSE_CHEMIN_MV_MACRO.$macro_element_nom.'.php';
        $un_macro_element = new $macro_element_nom($this->connexion, $block_donnees_parent, $chemin_macro_element);
        return $un_macro_element;
    }
}
?>