Esempio n. 1
0
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Esempio n. 2
0
 public function ObsList()
 {
     $request = knl_lib_Registry::getRequestObj();
     $ObsList = knl_lib_doc_ObservacaoList::getInstance();
     $pag = $request->getGet('pag');
     $pag = empty($pag) ? 1 : $request->getGet('pag');
     $lista = $ObsList->listaObservacoes();
     $vl = knl_view_Loader::getInstance();
     $vl->setVar("lista", $lista);
     $vl->setVar("id_doc", $request->getGet('id'));
     $vl->setVar("pag", $pag);
     $vl->display("ObservacaoList");
 }