Code

Replaced config->search with get_cfg_value
[gosa.git] / gosa-core / include / exporter / class_PDF.inc
1 <?php
3 /* Avoid autoloading this class */ class PDF extends FPDF
4 {
5   var $headline= "";
7   function setHeadline($headline)
8   {
9     $this->headline= $headline;
10   }
13   function Header()
14   {
15       $this->SetFont('Helvetica','B',10);
16       $this->Cell(0, 0, $this->headline, 0, 0, 'L');
17       $this->Ln(5);
18   }
19   
20   function Footer()
21   {
22       $this->SetY(-15);
23       $this->SetFont('Helvetica','I',8);
24       $this->Cell(0,10, _("Page")." ".$this->PageNo().'/{nb}',0,0,'C');
25   }
27 }
29 ?>