Docbook5 upgrades

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238239 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-06-22 00:08:06 +00:00
parent d104fb2aa9
commit 04a28871c1
5 changed files with 61 additions and 32 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!--
Authors:
Bill Abt and Rick McGuire of IBM
@ -9,24 +9,31 @@
-->
<chapter xml:id="internals2.pdo" xmlns="http://docbook.org/ns/docbook">
<chapterinfo>
<info>
<title>PDO Driver How-To</title>
<author>
<firstname>Bill</firstname>
<surname>Abt</surname>
<personname>
<firstname>Bill</firstname>
<surname>Abt</surname>
</personname>
<affiliation>
<shortaffil>IBM</shortaffil>
</affiliation>
</author>
<author>
<firstname>Rick</firstname>
<surname>McGuire</surname>
<personname>
<firstname>Rick</firstname>
<surname>McGuire</surname>
</personname>
<affiliation>
<shortaffil>IBM</shortaffil>
</affiliation>
</author>
<author>
<firstname>Wez</firstname>
<surname>Furlong</surname>
<personname>
<firstname>Wez</firstname>
<surname>Furlong</surname>
</personname>
<affiliation>
<shortaffil>OmniTI</shortaffil>
</affiliation>
@ -49,9 +56,8 @@
prerequisites.
</para>
</abstract>
</chapterinfo>
</info>
<title>PDO Driver How-To</title>
&internals2.pdo.intro;
&internals2.pdo.prerequisites;
&internals2.pdo.preparation;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<sect2 xml:id="internals2.ze1.zendapi.arguments" xmlns="http://docbook.org/ns/docbook">
<title>Accepting Arguments</title>
<para>
@ -621,10 +621,12 @@ key = emalloc(Z_STRLEN_P(args[0]) + 10);
CD-ROM. <xref linkend="internals2.ze1.zendapi.fig.cross-convert"/> shows the output.
</para>
</note>
<figure xml:id="internals2.ze1.zendapi.fig.cross-convert">
<title>Cross-conversion behavior of PHP.</title>
<graphic fileref="figures/zendapi.zend.04-cross-converter.png"/>
</figure>
<mediaobject>
<alt>Cross-conversion behavior of PHP.</alt>
<imageobject>
<imagedata fileref="figures/zendapi.zend.04-cross-converter.png" xml:id="internals2.ze1.zendapi.fig.cross-convert"/>
</imageobject>
</mediaobject>
<para>
Using these functions on your arguments will ensure type safety
for all data that's passed to you. If the supplied type doesn't
@ -953,7 +955,11 @@ if (!PZVAL_IS_REF(parameter)) {
ZVAL_LONG(parameter, 10);
]]>
</programlisting>
<graphic fileref="figures/zendapi.zend.05-reference-test.png"/>
<mediaobject>
<imageobject>
<imagedata fileref="figures/zendapi.zend.05-reference-test.png"/>
</imageobject>
</mediaobject>
</example>
</sect3>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<sect2 xml:id="internals2.ze1.zendapi.overview" xmlns="http://docbook.org/ns/docbook">
<title>Overview</title>
@ -65,11 +65,13 @@
really forms only the language core, implementing PHP at its very
basics with some predefined functions. PHP contains all the
modules that actually create the language's outstanding
capabilities.
<figure xml:id="internals2.ze1.zendapi.fig.internal-struct">
<title>The internal structure of PHP.</title>
<graphic fileref="figures/zendapi.zend.01-internal-structure.png"/>
</figure>
capabilities.
<mediaobject>
<alt>The internal structure of PHP.</alt>
<imageobject>
<imagedata fileref="figures/zendapi.zend.01-internal-structure.png" xml:id="internals2.ze1.zendapi.fig.internal-struct"/>
</imageobject>
</mediaobject>
</para>
<para>
The following sections discuss where PHP can be extended and how

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<sect2 xml:id="internals2.ze1.zendapi.printing" xmlns="http://docbook.org/ns/docbook">
<title>Printing Information</title>
<para>
@ -93,11 +93,14 @@ zend_error(E_WARNING, "This function has been called with empty arguments");
</row>
</tbody>
</tgroup>
</table>
<figure xml:id="internals2.ze1.zendapi.fig.warning-messages">
<title>Display of warning messages in the browser.</title>
<graphic fileref="figures/zendapi.zend.07-warning-messages.png"/>
</figure></para>
</table>
<mediaobject>
<alt>Display of warning messages in the browser.</alt>
<imageobject>
<imagedata fileref="figures/zendapi.zend.07-warning-messages.png" xml:id="internals2.ze1.zendapi.fig.warning-messages"/>
</imageobject>
</mediaobject>
</para>
</sect3>
<sect3 xml:id="internals2.ze1.zendapi.printing.phpinfo">
@ -136,7 +139,11 @@ php_info_print_table_row(2, "Just to fill", "another row here");
php_info_print_table_end();
]]>
</programlisting>
<graphic fileref="figures/zendapi.zend.08-phpinfo-output.png"/>
<mediaobject>
<imageobject>
<imagedata fileref="figures/zendapi.zend.08-phpinfo-output.png"/>
</imageobject>
</mediaobject>
</example>
</sect3>
@ -175,7 +182,11 @@ zend_printf("The file currently executed is %s&lt;br&gt;", zend_get_executed_fil
zend_printf("The current line being executed is %i&lt;br&gt;", zend_get_executed_lineno(TSRMLS_C));
]]>
</programlisting>
<graphic fileref="figures/zendapi.zend.09-execution-info.png"/>
<mediaobject>
<imageobject>
<imagedata fileref="figures/zendapi.zend.09-execution-info.png"/>
</imageobject>
</mediaobject>
</example>
</sect3>
</sect2>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<sect2 xml:id="internals2.ze1.zendapi.variables" xmlns="http://docbook.org/ns/docbook">
<title>Creating Variables</title>
<para>
@ -181,7 +181,11 @@ ZEND_FUNCTION(variable_creation)
}
]]>
</programlisting>
<graphic fileref="figures/zendapi.zend.06-variable-creation.png"/>
<mediaobject>
<imageobject>
<imagedata fileref="figures/zendapi.zend.06-variable-creation.png"/>
</imageobject>
</mediaobject>
</example>
</sect3>