katja Sat Feb 18 21:43:04 2006 UTC
Modified files:
/phpdoc/en/reference/pdf reference.xml
Log:
update or add pdf functions
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/reference.xml?r1=1.20&r2=1.21&diff_format=u
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.20
phpdoc/en/reference/pdf/reference.xml:1.21
--- phpdoc/en/reference/pdf/reference.xml:1.20 Mon Dec 12 23:01:59 2005
+++ phpdoc/en/reference/pdf/reference.xml Sat Feb 18 21:43:04 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
+<!-- $Revision: 1.21 $ -->
<!-- Purpose: utilspec.nontext -->
<!-- Membership: pecl, external -->
@@ -34,18 +34,39 @@
thorough explanation of the coordinate system used.
</para>
<para>
- With version 6, PDFlib offers an object oriented API for PHP 5 in
- addition to the function oriented API for PHP 4. The main difference is
- the following: In PHP 4, first a PDF resource has to be retrieved
- with a function call like <function>$p = PDF_new();</function>
- which is used as the first parameter in all further function calls,
e.g.
- as in <function>PDF_begin_document($p, "", "")</function>.
- In PHP 5, a PDFlib object is created with
- <function>$p = new PDFlib()</function> instead. This object offers
- all PDFlib API functions as methods, e.g. as with
- <function>$p->begin_document("", "")</function>.
- In addition, exceptions have been introduced in PHP 5 which are
- supported by PDFlib 6 and later as well.
+ With version 6, PDFlib offers an object oriented API for PHP 5 in
+ addition to the function oriented API for PHP 4. The main difference is
+ the following:
+ </para>
+ <para>
+ In PHP 4, first a PDF resource has to be retrieved
+ with a function call like
+ </para>
+ <para>
+ $p = PDF_new().
+ </para>
+ <para>
+ This PDF resource is used as the first parameter in all further function
calls, such
+ as in
+ </para>
+ <para>
+ PDF_begin_document($p, "", "").
+ </para>
+ <para>
+ In PHP 5 however, a PDFlib object is created with
+ </para>
+ <para>
+ $p = new PDFlib().
+ </para>
+ <para>
+ This object offers all PDFlib API functions as methods, e.g. as with
+ </para>
+ <para>
+ $p->begin_document("", "").
+ </para>
+ <para>
+ In addition, exceptions have been introduced in PHP 5 which are
+ supported by PDFlib 6 and later as well.
</para>
<para>
Please see the <link linkend="pdf.examples">examples</link> below for