Changes between Version 6 and Version 7 of WF/Relatoriospdf
- Timestamp:
- 12/06/07 16:15:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WF/Relatoriospdf
v6 v7 45 45 } 46 46 47 $pdf = wf_create_object("wf_fpdf");47 $pdf = $this->factory->getInstance("wf_fpdf"); 48 48 49 49 $pdf->setHeaderFunction("meuCabecalho"); … … 81 81 } 82 82 83 $pdf = wf_create_object("wf_fpdf");83 $pdf = $this->factory->getInstance("wf_fpdf"); 84 84 85 85 $pdf->setFooterFunction("meuRodape"); … … 97 97 98 98 {{{ 99 $pdf = wf_create_object("wf_fpdf");99 $pdf = $this->factory->getInstance("wf_fpdf"); 100 100 101 101 //codigo que irá gerar o relatório … … 125 125 function enviarArquivo($params) 126 126 { 127 $pdf = wf_create_object('wf_fpdf');127 $pdf = $this->factory->getInstance('wf_fpdf'); 128 128 129 129 $pdf->AddPage();