class My_Pdf extends Horde_Pdf_Writer {
function header()
{
Select Arial bold 15
$this->setFont('Arial', 'B', 15);
Move to the right
$this->cell(80);
Framed title
$this->cell(30, 10, 'Title', 1, 0, 'C');
Line break
$this->newLine(20);
}
}
public header ( ) |