<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1"><title>Footer</title><linktype="text/css"rel="stylesheet"href="../fpdf.css"></head><body><h1>Footer</h1><code>Footer()</code><h2>Description</h2>This method is used to render the page footer. It is automatically called by AddPage() andClose() and should not be called directly by the application. The implementation in FPDF isempty, so you have to subclass it and override the method if you want a specific processing.<h2>Example</h2><divclass="doc-source"><pre><code>class PDF extends FPDF{function Footer(){ //Go to 1.5 cm from bottom $this->SetY(-15); //Select Arial italic 8 $this->SetFont('Arial','I',8); //Print centered page number $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');}}</code></pre></div><h2>See also</h2><ahref="header.htm">Header()</a>.<hrstyle="margin-top:1.5em"><divstyle="text-align:center"><ahref="index.htm">Index</a></div></body></html>