Changeset 474 for trunk/app/views/helpers
- Timestamp:
- 05/12/08 14:02:03 (7 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/helpers/fpdf.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/helpers/fpdf.php
r456 r474 1 1 <?php 2 2 /** 3 * Chipotle Software TM 4 * Manuel Montoya 2002-2008 5 * GPLv3 manuel<arroba>mononeurona<punto>org 6 */ 3 7 App::import('Vendor', 'fpdf/myfpdf'); 4 8 … … 22 26 public function setData($data) 23 27 { 24 $this->pdf->Cell(0,10,$data,1,1,'L'); 25 $this->pdf->Ln(10); 28 $string = utf8_decode($data); 29 $this->pdf->Cell(0,5,$string,1,1,'L'); 30 $this->pdf->Ln(5); 26 31 } 27 32
