Beispiel #1
0
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Beispiel #2
0
 public function DocEdit()
 {
     $request = knl_lib_Registry::getRequestObj();
     $docEdit = knl_lib_doc_DocEdit::getInstance();
     $docEdit->gravaNoBanco();
     $PendOk = knl_lib_doc_PendenciaOk::getInstance();
     $PendOk->EditOk($request->getpost('id'));
     $vl = knl_view_Loader::getInstance();
     $vl->setVar("id", $request->getpost('id'));
     $vl->display("DocEditOk");
 }