MFB: Upgrade to the new-reference-structure

- (Created missing setup sections in setup.xml, if any)
 - Moved the intro to book.xml
 - Changed the intro ID from <extname>.intro to intro.<extname>
 - Moved the constants entity to book.xml
 - Changed constants.xml to be an appendix


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248927 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-12-24 12:37:51 +00:00
parent a38b0d35ce
commit 17a954a473
4 changed files with 124 additions and 32 deletions

59
reference/spl/book.xml Normal file
View file

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<book xml:id="book.spl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Standard PHP Library (SPL)</title>
<titleabbrev>spl</titleabbrev>
<preface xml:id="intro.spl">
&reftitle.intro;
<para>
SPL is a collection of interfaces and classes that are meant to solve
standard problems.
</para>
<tip>
<para>
A more detailed documentation of SPL can be found
<link xlink:href="http://www.php.net/~helly/php/ext/spl/">here</link>.
</para>
</tip>
</preface>
&reference.spl.setup;
&reference.spl.constants;
&reference.spl.reference;
&reference.spl.arrayiterator;
&reference.spl.arrayobject;
&reference.spl.cachingiterator;
&reference.spl.recursivecachingiterator;
&reference.spl.directoryiterator;
&reference.spl.filteriterator;
&reference.spl.limititerator;
&reference.spl.parentiterator;
&reference.spl.recursivedirectoryiterator;
&reference.spl.recursiveiteratoriterator;
&reference.spl.simplexmliterator;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<section xml:id="spl.constants" xmlns="http://docbook.org/ns/docbook">
<!-- $Revision: 1.4 $ -->
<appendix xml:id="spl.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&extension.constants;
<warning>
@ -66,7 +66,7 @@
</listitem>
</varlistentry>
</variablelist>
</section>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:

View file

@ -1,36 +1,11 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.8 $ -->
<!-- Purpose: basic.other -->
<!-- Membership: bundled -->
<!-- $Revision: 1.9 $ -->
<reference xml:id="ref.spl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Standard PHP Library (SPL) Functions</title>
<titleabbrev>SPL</titleabbrev>
<reference xml:id="ref.spl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>SPL &Functions;</title>
<partintro>
<section xml:id="spl.intro">
&reftitle.intro;
<para>
SPL is a collection of interfaces and classes that are meant to solve
standard problems.
</para>
<tip>
<para>
A more detailed documentation of SPL can be found
<link xlink:href="http://www.php.net/~helly/php/ext/spl/">here</link>.
</para>
</tip>
</section>
<section xml:id="spl.installation">
&reftitle.install;
<para>
This extension is available and compiled by default in PHP 5.
</para>
</section>
&reference.spl.constants;
</partintro>
&reference.spl.entities.functions;
</reference>
</reference>
<!-- Keep this comment at the end of the file
Local variables:

58
reference/spl/setup.xml Normal file
View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<chapter xml:id="spl.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="spl.requirements">
&reftitle.required;
&no.requirement;
</section>
<!-- }}} -->
<!-- {{{ Installation -->
<section xml:id="spl.installation">
&reftitle.install;
<para>
This extension is available and compiled by default in PHP 5.
</para>
</section>
<!-- }}} -->
<!-- {{{ Configuration -->
<section xml:id="spl.configuration">
&reftitle.runtime;
&no.config;
</section>
<!-- }}} -->
<!-- {{{ Resources -->
<section xml:id="spl.resources">
&reftitle.resources;
&no.resource;
</section>
<!-- }}} -->
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->