public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }
<?php $tipos = $knl_helper->getVar("tipos"); $subTipos = $knl_helper->getVar("subTipos"); $helperForm = knl_view_w3c_hlp_FormFind::getInstance(); $helperForm->monta_DocTipoCombo($tipos); $helperForm->monta_DocSubTipoCombo($subTipos); $helperForm->monta_DocTipoDiv($tipos); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <?php $helperForm->monta_FormsSpec($tipos); echo $helperForm->js_FormsSpec(); if ($knl_helper->isSetVar("head")) { $head = $knl_helper->getVar("head"); foreach ($head as $v) { echo $v . "\n"; } } ?> <link rel="stylesheet" href="./view/w3c/css/menu.css" type="text/css"> <script type="text/javascript" src="./view/w3c/js/main_menu.js"></script> <link href="./view/w3c/css/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="./view/w3c/js/jquery.min.js"></script> <script type="text/javascript" src="./view/w3c/js/jquery-ui.min.js"></script> <title> Documento </title> <link rel="stylesheet" href="view/w3c/css/formfind.css" type="text/css">