class PDF extends FPDF { //Constructeur (obligatoire pour PHP3) function PDF() { $this->FPDF(); } //En-tête function Header() { //Police Arial gras 15 $this->SetFont('Arial','B',15); //Décalage $this->Cell(80); //Titre $this->Cell(30,10,'Titre'); //Saut de ligne $this->Ln(20); } } |