Beispiel #1
0
 public function go()
 {
     $aOutput = \YcheukfReport\Lib\ALYS\Report\Start::getOutput();
     $sHtml = "";
     $oPluginStatic = \YcheukfReport\Lib\ALYS\ALYSFunction::loadPlugin("Statichtml");
     if (isset($aOutput['flash.output'])) {
         $sHtml .= $oPluginStatic->ALYSfmtOutputFlash($aOutput['flash.output']);
     }
     if (isset($aOutput['total.output'])) {
         $aOutput['total.output'] = parent::_forma_html_total($aOutput['total.output']);
         $sHtml .= $oPluginStatic->ALYSfmtOutputTotal($aOutput['total.output']);
     }
     if (isset($aOutput['detail.output'])) {
         $aOutput['detail.output'] = parent::_format_html_list($aOutput['detail.output']);
         $sHtml .= $oPluginStatic->ALYSfmtOutputList($aOutput['detail.output']);
     }
     $sHtml = self::_fmtHtml($sHtml);
     $cache = \YcheukfReport\Lib\ALYS\ALYSFunction::loadClass("ALYSCache");
     $cache->setHandle('report_static_html');
     $keyName = uniqid();
     $cache->save($keyName, $sHtml);
     $aOutput['output'] = $keyName;
     \YcheukfReport\Lib\ALYS\Report\Start::setOutput($aOutput);
     return $keyName;
 }
Beispiel #2
0
 function go()
 {
     $aOutput = \YcheukfReport\Lib\ALYS\Report\Start::getOutput();
     $aOutput['total.output'] = isset($aOutput['total.output']) ? parent::_forma_html_total($aOutput['total.output']) : "";
     $aOutput['detail.output'] = isset($aOutput['detail.output']) ? parent::_format_html_list($aOutput['detail.output']) : "";
     $sHTML = "";
     $sHTML .= isset($aOutput['flash.output']) ? $aOutput['flash.output'] : "";
     $sHTML .= "\r\n\r\n";
     $sHTML .= isset($aOutput['total.output']) ? $aOutput['total.output'] : "";
     $sHTML .= "\r\n\r\n";
     $sHTML .= isset($aOutput['detail.output']) ? $aOutput['detail.output'] : "";
     $sHTML .= "\r\n\r\n";
     $aOutput['output'] = $sHTML;
     \YcheukfReport\Lib\ALYS\Report\Start::setOutput($aOutput);
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
 }