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>
 - Added empty constants appendix
 - Moved the requirements section to setup.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248855 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-12-23 20:45:22 +00:00
parent 74dd240911
commit 41bd6175e5
4 changed files with 135 additions and 30 deletions

45
reference/json/book.xml Normal file
View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<!-- Purpose: basic.other -->
<!-- Membership: pecl, bundled -->
<book xml:id="book.json" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>JSON Functions</title>
<titleabbrev>JSON</titleabbrev>
<preface xml:id="intro.json">
&reftitle.intro;
<para>
This extension implements the <link
xlink:href="&url.json;">JavaScript Object Notation (JSON)</link>
data-interchange format. The decoding is handled by a parser based on
the JSON_checker by Douglas Crockford.
</para>
</preface>
&reference.json.setup;
&reference.json.constants;
&reference.json.reference;
</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

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<appendix xml:id="json.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&no.constants;
</appendix>
<!-- 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,35 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- Purpose: basic.other -->
<!-- Membership: pecl, bundled -->
<reference xml:id="ref.json" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>JSON Functions</title>
<titleabbrev>JSON</titleabbrev>
<!-- $Revision: 1.6 $ -->
<reference xml:id="ref.json" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>JSON &Functions;</title>
<partintro>
<section xml:id="json.intro">
&reftitle.intro;
<para>
This extension implements the <link
xlink:href="&url.json;">JavaScript Object Notation (JSON)</link>
data-interchange format. The decoding is handled by a parser based on
the JSON_checker by Douglas Crockford.
</para>
</section>
<section xml:id="json.requirements">
&reftitle.required;
<para>
As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP by
default.
</para>
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;json">&url.pecl.package;json</link>
</para>
</section>
</partintro>
&reference.json.entities.functions;
</reference>
@ -54,3 +28,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

56
reference/json/setup.xml Normal file
View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.2 $ -->
<chapter xml:id="json.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<section xml:id="json.requirements">
&reftitle.required;
<para>
As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP by
default.
</para>
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;json">&url.pecl.package;json</link>
</para>
</section>
<section xml:id="json.installation">
&reftitle.install;
&no.install;
</section>
<section xml:id="json.configuration">
&reftitle.runtime;
&no.config;
</section>
<section xml:id="json.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
-->