public static function renderHTML($module, $template, $typeRender, $arg = array())
 {
     if (isset($module) and isset($template)) {
         if (count($arg) > 0) {
             extract($arg);
         }
         switch ($typeRender) {
             case 'html':
                 header(configClass::getHeaderHtml());
                 include_once configClass::getPathAbsolute() . 'libs/vendor/view/head.php';
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.html.php";
                 include_once configClass::getPathAbsolute() . 'libs/vendor/view/foot.php';
                 break;
             case 'json':
                 header(configClass::getHeaderJson());
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.json.php";
                 break;
             case 'pdf':
                 //header(configClass::getHeaderPdf());
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.pdf.php";
                 break;
             case 'javascript':
                 header(configClass::getHeaderJavascript());
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.js.php";
                 break;
             case 'xml':
                 header(configClass::getHeaderXml());
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.xml.php";
                 break;
             case 'excel2003':
                 header(configClass::getHeaderExcel2003());
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.xls.php";
                 break;
             case 'excel2007':
                 header(configClass::getHeaderExcel2007());
                 include_once configClass::getPathAbsolute() . "view/{$module}/{$template}.xlsx.php";
                 break;
         }
     }
 }