Horde_Pdf_Writer::header PHP Method

header() public method

It is automatically called by {@link addPage()} and should not be called directly by the application. The implementation in Horde_Pdf_Writer is empty, so you have to subclass it and override the method if you want a specific processing. Example: 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); } }
See also: footer()
public header ( )
    public function header()
    {
        /* To be implemented in your own inherited class. */
    }