Example #1
0
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Example #2
0
 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");
 }