Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 145 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 145 Rev 146
Line 23... Line 23...
23
    }
23
    }
Line 24... Line 24...
24
    
24
    
25
    function macroElementFactory($chemin_macro_element, $block_donnees_parent)
25
    function macroElementFactory($chemin_macro_element, $block_donnees_parent)
26
    {
26
    {
27
        $etape_chemin = array_reverse(explode('>', $chemin_macro_element));
27
        $etape_chemin = array_reverse(explode('>', $chemin_macro_element));
28
        $macro_element_nom = $etape_chemin[0];
-
 
29
        echo $macro_element_nom;
28
        $macro_element_nom = $etape_chemin[0];
30
        require_once EFSE_CHEMIN_MV_MACRO.$macro_element_nom.'.php';
29
        require_once EFSE_CHEMIN_MV_MACRO.$macro_element_nom.'.php';
31
        $un_macro_element = new $macro_element_nom($this->connexion, $block_donnees_parent, $chemin_macro_element);
30
        $un_macro_element = new $macro_element_nom($this->connexion, $block_donnees_parent, $chemin_macro_element);
32
        return $un_macro_element;
31
        return $un_macro_element;
33
    }
32
    }