Show
Ignore:
Timestamp:
09/07/08 13:00:56 (2 months ago)
Author:
aarkerio
Message:

Update models

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/helpers/fpdf.php

    r756 r758  
    2020  public function __construct($orientation='P',$unit='mm',$format='Letter')  
    2121  {  
    22     $this->pdf = new myFPDF($orientation, $unit, $format); 
     22    $this->pdf = new myFPDF(null, null, $format); 
    2323    $this->pdf->SetFont('Arial','B',10); 
    2424  } 
     
    2727  { 
    2828    $string  =  utf8_decode($data);  // UTF-8 
    29     $this->pdf->Cell(0,2,$string,0,1,'L'); 
     29    // Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [, boolean fill [, mixed link]]]]]]]) 
     30    $this->pdf->Cell(0,3,$string,0,1,'L'); 
    3031    $this->pdf->Ln(2); 
    3132  }