cvs: peardoc /en/package/php/php-compat intro.xml
| From: | Aidan Lister | Date: | Sat, 05 Jun 2004 03:23:12 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compat intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4237@lists.php.net to get a copy of this message | ||
aidan Fri Jun 4 23:23:12 2004 EDT
Modified files:
/peardoc/en/package/php/php-compat intro.xml
Log:
Formatting
http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/intro.xml?r1=1.6&r2=1.7&ty=u
Index: peardoc/en/package/php/php-compat/intro.xml
diff -u peardoc/en/package/php/php-compat/intro.xml:1.6
peardoc/en/package/php/php-compat/intro.xml:1.7
--- peardoc/en/package/php/php-compat/intro.xml:1.6 Fri Jun 4 06:53:44 2004
+++ peardoc/en/package/php/php-compat/intro.xml Fri Jun 4 23:23:11 2004
@@ -1,44 +1,38 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!-- $Revision: 1.6 $ -->
- <refentry id="package.php.php-compat.intro">
- <refnamediv>
- <refname>Introduction</refname>
- <refpurpose>
-Purpose and simple usage example.
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <para>PHP_Compat provides missing functionality in the form of functions and constants
for older versions of PHP.</para>
- <example>
- <title>Loading a component with PHP_Compat:</title>
-<programlisting role="php">
- <![CDATA[
-require_once 'PHP/Compat.php';
+<!-- $Revision: 1.7 $ -->
+<refentry id="package.php.php-compat.intro">
+ <refnamediv>
+ <refname>Introduction</refname>
+ <refpurpose>Purpose and simple usage example.</refpurpose>
+ </refnamediv>
+
+ <refsect1>
+ <title>Description</title>
+ <para>PHP_Compat provides missing functionality in the form of functions and constants for
older versions of PHP.</para>
+ <example>
+ <title>Loading a component with PHP_Compat:</title>
+ <programlisting role="php">
+ <![CDATA[
+ require_once 'PHP/Compat.php';
+
+ PHP_Compat::loadFunction('file_get_contents');
+ ]]>
+ </programlisting>
+ </example>
+ <para>Or, if you don't wish to use the class, you can load it manually.</para>
+ <example>
+ <title>Loading a component manually:</title>
+ <programlisting role="php">
+ <![CDATA[
+ require_once 'PHP/Compat/Function/file_put_contents.php';
+ ]]>
+ </programlisting>
+ </example>
+ <para>The function is then ready to use like you would normally.</para>
+ <para>PHP_Compat is designed for ease of use. It has no dependencies and can be used
completely outside the PEAR infrastructure.</para>
+ </refsect1>
+</refentry>
-PHP_Compat::loadFunction('file_get_contents');
- ]]>
- </programlisting>
-</example>
-
-<para>Or, if you don't wish to use the class, you can load it manually.</para>
-
- <example>
- <title>Loading a component manually:</title>
-
-<programlisting role="php">
- <![CDATA[
-require_once 'PHP/Compat/Function/file_put_contents.php';
- ]]>
- </programlisting>
-</example>
-
-<para>The function is then ready to use like you would normally.</para>
-<para>PHP_Compat is designed for ease of use. It has no dependencies and can be used
completely outside the PEAR infrastructure.</para>
- </refsect1>
- </refentry>
-
-
<!-- Keep this comment at the end of the file
Local variables:
@@ -58,4 +52,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
+-->
\ No newline at end of file