source: trunk/phpgwapi/inc/fpdf/doc/footer.htm @ 2

Revision 2, 1.2 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<HTML>
2<HEAD>
3<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
4<TITLE>Footer</TITLE>
5<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
6</HEAD>
7<BODY>
8<H2>Footer</H2>
9<TT>Footer()</TT>
10<H4 CLASS='st'>Version</H4>
111.0
12<H4 CLASS='st'>Description</H4>
13This method is used to render the page footer. It is automatically called by AddPage() and
14Close() and should not be called directly by the application. The implementation in FPDF is
15empty, so you have to subclass it and override the method if you want a specific processing.
16<H4 CLASS='st'>Example</H4>
17<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
18<TT>
19class PDF extends FPDF<BR>
20{<BR>
21function Footer()<BR>
22{<BR>
23&nbsp;&nbsp;&nbsp;&nbsp;//Go to 1.5 cm from bottom<BR>
24&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;SetY(-15);<BR>
25&nbsp;&nbsp;&nbsp;&nbsp;//Select Arial italic 8<BR>
26&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;SetFont('Arial','I',8);<BR>
27&nbsp;&nbsp;&nbsp;&nbsp;//Print centered page number<BR>
28&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;Cell(0,10,'Page '.$this-&gt;PageNo(),0,0,'C');<BR>
29}<BR>
30}
31</TT>
32</TD></TR></TABLE><BR>
33<H4 CLASS='st'>See also</H4>
34<A HREF="header.htm">Header()</A>.
35<H6></H6>
36<HR>
37<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
38</BODY>
39</HTML>
Note: See TracBrowser for help on using the repository browser.