Esempio n. 1
0
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Esempio n. 2
0
<?php

$helperAnexoCab = knl_view_w3c_hlp_AnexoCab::getInstance();
$documento = $knl_helper->getVar("doc");
$cabecalho = $knl_helper->getVar("cabecalho");
?>
O seguinte documento foi anexo:
<pre>
   <?php 
print_r($documento);
$helperAnexoCab->monta_Cabecalho($cabecalho);
echo $helperAnexoCab->html_Cabecalho();
?>
 </pre>