Location: PHPKode > scripts > PHP DataGrid > modules/fpdf/doc/footer.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
<H4 CLASS='st'>Version</H4>
<H4 CLASS='st'>Description</H4>
This method is used to render the page footer. It is automatically called by AddPage() and
Close() and should not be called directly by the application. The implementation in FPDF is
empty, so you have to subclass it and override the method if you want a specific processing.
<H4 CLASS='st'>Example</H4>
class PDF extends FPDF<BR>
function Footer()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;//Go to 1.5 cm from bottom<BR>
&nbsp;&nbsp;&nbsp;&nbsp;//Select Arial italic 8<BR>
&nbsp;&nbsp;&nbsp;&nbsp;//Print centered page number<BR>
&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;Cell(0,10,'Page '.$this-&gt;PageNo(),0,0,'C');<BR>
<H4 CLASS='st'>See also</H4>
<A HREF="header.htm">Header()</A>.
<HR STYLE="margin-top:1.2em">
<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
Return current item: PHP DataGrid