public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }
public function AssinaturaList() { $request = knl_lib_Registry::getRequestObj(); $AssinaList = knl_lib_doc_AssinaturaList::getInstance(); $lista = $AssinaList->listaAssinaturas(); $vl = knl_view_Loader::getInstance(); $vl->setVar("lista", $lista); $vl->setVar("id_doc", $request->getGet('id')); $vl->display("AssinaturaList"); }