cvs: peardoc /en/core/pear pear-exception.xml /en/core/ppm/pear-validate validversion.xml /en/guide/developers/recommendations drivercheck.xml
/en/guide/migrating customtasks.xml

From: Date: Thu, 08 May 2008 22:01:52 +0000
Subject: cvs: peardoc /en/core/pear pear-exception.xml /en/core/ppm/pear-validate validversion.xml /en/guide/developers/recommendations drivercheck.xml
/en/guide/migrating customtasks.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10768@lists.php.net to get a copy of this message
saltybeagle Thu May 8 22:01:52 2008 UTC Modified files: /peardoc/en/core/ppm/pear-validate validversion.xml /peardoc/en/guide/migrating customtasks.xml /peardoc/en/core/pear pear-exception.xml /peardoc/en/guide/developers/recommendations drivercheck.xml Log: Correct links to PHP Manual, use auto redirect where available to support the redirects and translate redirection. http://cvs.php.net/viewvc.cgi/peardoc/en/core/ppm/pear-validate/validversion.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/core/ppm/pear-validate/validversion.xml diff -u peardoc/en/core/ppm/pear-validate/validversion.xml:1.1 peardoc/en/core/ppm/pear-validate/validversion.xml:1.2 --- peardoc/en/core/ppm/pear-validate/validversion.xml:1.1 Sun Jun 5 04:35:05 2005 +++ peardoc/en/core/ppm/pear-validate/validversion.xml Thu May 8 22:01:51 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="core.ppm.pear-validate.validversion"> <refnamediv> <refname> @@ -28,7 +28,7 @@ &title.desc; <para> Use this method to test the validity of a version number string. All - versions must be testable with PHP's <ulink url="&url.php.manual;version_compare"><function>version_compare</function></ulink>. + versions must be testable with PHP's <ulink url="&url.php.manual.auto;version_compare"><function>version_compare</function></ulink>. </para> </refsect1> <refsect1 id="core.ppm.pear-validate.validversion.param"> http://cvs.php.net/viewvc.cgi/peardoc/en/guide/migrating/customtasks.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/guide/migrating/customtasks.xml diff -u peardoc/en/guide/migrating/customtasks.xml:1.5 peardoc/en/guide/migrating/customtasks.xml:1.6 --- peardoc/en/guide/migrating/customtasks.xml:1.5 Wed Jan 9 22:11:57 2008 +++ peardoc/en/guide/migrating/customtasks.xml Thu May 8 22:01:51 2008 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <chapter id="guide.migrating.customtasks"> <chapterinfo> <author> <firstname>Gregory</firstname> <surname>Beaver</surname> </author> - <date>$Date: 2008/01/09 22:11:57 $</date> + <date>$Date: 2008/05/08 22:01:51 $</date> </chapterinfo> <title>Custom File Tasks</title> @@ -35,7 +35,7 @@ <simpara> This example above would scan the blah.php file at installation, and then use - <ulink url="&url.php.manual;str_replace"><function>str_replace</function></ulink> + <ulink url="&url.php.manual.auto;str_replace"><function>str_replace</function></ulink> to replace all occurrences of the string <literal>@token@</literal> with the package's version number. Then, it would replace all occurrences of the string <literal>@anothertoken@</literal> with the value of the user's php_dir configuration http://cvs.php.net/viewvc.cgi/peardoc/en/core/pear/pear-exception.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/core/pear/pear-exception.xml diff -u peardoc/en/core/pear/pear-exception.xml:1.4 peardoc/en/core/pear/pear-exception.xml:1.5 --- peardoc/en/core/pear/pear-exception.xml:1.4 Mon Dec 10 06:44:43 2007 +++ peardoc/en/core/pear/pear-exception.xml Thu May 8 22:01:51 2008 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <sect1 id="core.pear.pear-exception"> <title>PEAR_Exception - PHP 5 and versions above</title> <titleabbrev>PEAR_Exception</titleabbrev> @@ -39,7 +39,7 @@ Exceptions in general should be used only for exceptional circumstances - for error conditions that require termination of execution. PEAR_Exception should mainly be used for transmitting error information outside the existing package, - and not for normal flow control. Use <ulink url="&url.php.manual;en/language.control-structures.php"> + and not for normal flow control. Use <ulink url="&url.php.manual.auto;Control+Structures"> Control Structures</ulink> in favor of exceptions wherever possible. </para> http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/recommendations/drivercheck.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/guide/developers/recommendations/drivercheck.xml diff -u peardoc/en/guide/developers/recommendations/drivercheck.xml:1.2 peardoc/en/guide/developers/recommendations/drivercheck.xml:1.3 --- peardoc/en/guide/developers/recommendations/drivercheck.xml:1.2 Sun May 4 18:34:09 2008 +++ peardoc/en/guide/developers/recommendations/drivercheck.xml Thu May 8 22:01:52 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 id="developers.recommendations.drivercheck"> <title>Checking if a driver can be loaded</title> @@ -7,7 +7,7 @@ In driver-based packages you should check if the driver exists before loading it. A simple <function>file_exists</function> does not work since it does not check the - <ulink url="&url.php.manual;ini.core.php#ini.include-path">include path</ulink>. + <ulink url="&url.php.manual.auto;ini.core#ini.include-path">include path</ulink>. <function>fopen</function>'s third parameter does that, so we use it. </para>

« previous php.pear.doc (#10768) next »