コード例 #1
0
ファイル: ReportePDF.php プロジェクト: hcvcastro/pxp
 function generarReporte()
 {
     if ($this->tipoReporte == 'pdf') {
         //Da formato al array de las etiquetas a clave valor
         for ($i = 0; $i < count($this->aDetalleKeys); $i++) {
             $this->aDetalleEtiquetasFormato[0][$this->aDetalleKeys[$i]] = $this->aDetalleEtiquetas[$i];
         }
         $this->AddPage();
         if (!$this->swMaestroHeader) {
             $this->renderMaestro();
             $this->renderEtiquetas();
             $this->swDetalleEtiquetas = 1;
         }
         $this->renderDetalle();
     }
     parent::output($this->url_archivo, 'F');
 }
コード例 #2
0
	public function generarReporte(){
		//$this->AddPage();
		parent::output($this->strUrlArchivo,'F');
	}