nlopess Sun Jan 22 23:18:08 2006 UTC Removed files: /phpdoc/en/internals/zendapi/figures zend.02-first-module-output.png zend.03-wrong-parameter-count.png
Modified files: /phpdoc/en/internals/zendapi arguments.xml using.xml Log: replace some images by plain text http://cvs.php.net/viewcvs.cgi/phpdoc/en/internals/zendapi/arguments.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/internals/zendapi/arguments.xml diff -u phpdoc/en/internals/zendapi/arguments.xml:1.2 phpdoc/en/internals/zendapi/arguments.xml:1.3 --- phpdoc/en/internals/zendapi/arguments.xml:1.2 Thu Dec 8 12:10:51 2005 +++ phpdoc/en/internals/zendapi/arguments.xml Sun Jan 22 23:18:08 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.2 $ --> + <!-- $Revision: 1.3 $ --> <sect1 id="zend.arguments"> <title>Accepting Arguments</title> <para> @@ -49,12 +49,11 @@ If the function is not called with two arguments, it exits with an error message. The code snippet above makes use of the tool macro <literal>WRONG_PARAM_COUNT</literal>, - which can be used to generate a standard error message (see <xref linkend='fig.wrong-param-count'/>). - </para> - <figure id='fig.wrong-param-count'> - <title><literal>WRONG_PARAM_COUNT</literal> in action.</title> - <graphic fileref="figures/zend.03-wrong-parameter-count.png"/> - </figure> + which can be used to generate a standard error message like: +<![CDATA[ +"Warning: Wrong parameter count for firstmodule() in /home/www/htdocs/firstmod.php on line 5" +]]> + </para> <para> This macro prints a default error message and then returns to the caller. Its definition can also be found in <filename>zend_API.h</filename> and looks http://cvs.php.net/viewcvs.cgi/phpdoc/en/internals/zendapi/using.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/internals/zendapi/using.xml diff -u phpdoc/en/internals/zendapi/using.xml:1.1 phpdoc/en/internals/zendapi/using.xml:1.2 --- phpdoc/en/internals/zendapi/using.xml:1.1 Sun Aug 21 16:27:07 2005 +++ phpdoc/en/internals/zendapi/using.xml Sun Jan 22 23:18:08 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.1 $ --> + <!-- $Revision: 1.2 $ --> <sect1 id="zend.using"> <title>Using Extensions</title> <para> @@ -41,12 +41,10 @@ </programlisting> </example> <para> - Calling this PHP file in your Web browser should give you the - output shown in <xref linkend='fig.out-first'/>. - <figure id='fig.out-first'> - <title>Output of first_module.php.</title> - <graphic fileref="figures/zend.02-first-module-output.png"/> - </figure> + Calling this PHP file should output the following: +<![CDATA[ +We sent '2' and got '2' +]]> </para> <para> If required, the dynamic loadable module is loaded by calling the