private function createModulePathTree($module, $mod_path)
    {
        //Creamos las carpetas CORE del módulo
        $this->log->addLog("Generamos la estructura");
        $paths = [
            "Api", "Api/base", "Config", "Controller", "Models", "Public", "Templates", "Services", "Test", "Doc",
            "Locale", "Locale/" . Config::getParam('default.locale', 'es_ES'), "Locale/" . Config::getParam('default.locale', 'es_ES') . "/LC_MESSAGES"
        ];
        $module_path = $mod_path . $module;
        foreach ($paths as $path) {
            GeneratorHelper::createDir($module_path . DIRECTORY_SEPARATOR . $path);
        }
        //Creamos las carpetas de los assets
        $htmlPaths = array("css", "js", "img", "media", "font");
        foreach ($htmlPaths as $path) {
            GeneratorHelper::createDir($module_path . DIRECTORY_SEPARATOR . "Public" . DIRECTORY_SEPARATOR . $path);
        }
    }
private function createModulePathTree($module, $mod_path)
    {
        //Creamos las carpetas CORE del módulo
        $this->log->addLog("Generamos la estructura");
        $paths = [
            "Api", "Api/base", "Config", "Controller", "Models", "Public", "Templates", "Services", "Test", "Doc",
            "Locale", "Locale/" . Config::getParam('default.locale', 'es_ES'), "Locale/" . Config::getParam('default.locale', 'es_ES') . "/LC_MESSAGES"
        ];
        $module_path = $mod_path . $module;
        foreach ($paths as $path) {
            GeneratorHelper::createDir($module_path . DIRECTORY_SEPARATOR . $path);
        }
        //Creamos las carpetas de los assets
        $htmlPaths = array("css", "js", "img", "media", "font");
        foreach ($htmlPaths as $path) {
            GeneratorHelper::createDir($module_path . DIRECTORY_SEPARATOR . "Public" . DIRECTORY_SEPARATOR . $path);
        }
    }
private function createModulePathTree ( $ module , $ mod_path ) { //Creamos las carpetas CORE del módulo $ this -> log -> addLog ( "Generamos la estructura" ) ; $ paths = [ "Api" , "Api/base" , "Config" , "Controller" , "Models" , "Public" , "Templates" , "Services" , "Test" , "Doc" , "Locale" , "Locale/" . Config :: getParam ( 'default.locale' , 'es_ES' ) , "Locale/" . Config :: getParam ( 'default.locale' , 'es_ES' ) . "/LC_MESSAGES" ] ; $ module_path = $ mod_path . $ module ; foreach ( $ paths as $ path ) { GeneratorHelper :: createDir ( $ module_path . DIRECTORY_SEPARATOR . $ path ) ; } //Creamos las carpetas de los assets $ htmlPaths = array ( "css" , "js" , "img" , "media" , "font" ) ; foreach ( $ htmlPaths as $ path ) { GeneratorHelper :: createDir ( $ module_path . DIRECTORY_SEPARATOR . "Public" . DIRECTORY_SEPARATOR . $ path ) ; } }
Servicio que genera la estructura base
@param string $module
@param boolean $mod_path
@return boolean
Servicio que genera la estructura base