svn: /phpdoc/en/trunk/ language-snippets.ent reference/spl/datastructures.xml reference/spl/exceptions.xml reference/spl/files.xml
reference/spl/interfaces.xml reference/spl/iterators.xml reference/spl/miscellaneous.xml
| From: | Peter Cowburn | Date: | Wed, 07 Oct 2009 21:19:36 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/spl/datastructures.xml reference/spl/exceptions.xml reference/spl/files.xml reference/spl/interfaces.xml reference/spl/iterators.xml reference/spl/miscellaneous.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5095@lists.php.net to get a copy of this message | ||
salathe Wed, 07 Oct 2009 21:19:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=289303
Log:
SPL book section titles/intros use lang snippets
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/spl/datastructures.xml
U phpdoc/en/trunk/reference/spl/exceptions.xml
U phpdoc/en/trunk/reference/spl/files.xml
U phpdoc/en/trunk/reference/spl/interfaces.xml
U phpdoc/en/trunk/reference/spl/iterators.xml
U phpdoc/en/trunk/reference/spl/miscellaneous.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/language-snippets.ent 2009-10-07 21:19:36 UTC (rev 289303)
@@ -1173,3 +1173,21 @@
<!ENTITY reflection.export.param.name 'The reflection to export.'>
+<!-- SPL -->
+<!ENTITY spl.datastructures.intro.title
'<title>Datastructures</title>'>
+
+<!ENTITY spl.exceptions.intro.title '<title>Exceptions</title>'>
+<!ENTITY spl.exceptions.intro '<partintro><para>SPL provides a set of standard
Exceptions.</para><para>See also the <xref linkend="reserved.exceptions"
/></para></partintro>'>
+
+<!ENTITY spl.files.intro.title '<title>File Handling</title>'>
+<!ENTITY spl.files.intro '<partintro><para>SPL provides a number of classes to
work with files.</para></partintro>'>
+
+<!ENTITY spl.interfaces.intro.title '<title>Interfaces</title>'>
+<!ENTITY spl.interfaces.intro '<para>SPL provides a set of
interfaces.</para><para>See also the <xref linkend="reserved.interfaces"
/></para>'>
+<!ENTITY spl.interfaces.list '<title>Interface list</title>'>
+
+<!ENTITY spl.iterators.intro.title '<title>Iterators</title>'>
+<!ENTITY spl.iterators.intro '<para>SPL provides a set of iterators to traverse over
objects.</para>'>
+
+<!ENTITY spl.misc.intro.title '<title>Miscellaneous Classes</title>'>
+<!ENTITY spl.misc.intro '<partintro><para>Classes which do not fit into the
other SPL categories.</para></partintro>'>
Modified: phpdoc/en/trunk/reference/spl/datastructures.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/datastructures.xml 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/reference/spl/datastructures.xml 2009-10-07 21:19:36 UTC (rev 289303)
@@ -3,7 +3,7 @@
<part xml:id="spl.datastructures" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Datastructures</title>
+ &spl.datastructures.intro.title;
<partintro>
<para>
Modified: phpdoc/en/trunk/reference/spl/exceptions.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/exceptions.xml 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/reference/spl/exceptions.xml 2009-10-07 21:19:36 UTC (rev 289303)
@@ -3,18 +3,9 @@
<part xml:id="spl.exceptions" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Exceptions</title>
+ &spl.exceptions.intro.title;
+ &spl.exceptions.intro;
- <partintro>
- <para>
- SPL provides a set of standard Exceptions.
- </para>
- <para>
- See also the <xref linkend="reserved.exceptions" />
- </para>
-
- </partintro>
-
&reference.spl.badfunctioncallexception;
&reference.spl.badmethodcallexception;
&reference.spl.domainexception;
Modified: phpdoc/en/trunk/reference/spl/files.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/files.xml 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/reference/spl/files.xml 2009-10-07 21:19:36 UTC (rev 289303)
@@ -3,15 +3,9 @@
<part xml:id="spl.files" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>File Handling</title>
+ &spl.files.intro.title;
+ &spl.files.intro;
- <partintro>
- <para>
- SPL provides a number of classes to work with files.
- </para>
-
- </partintro>
-
&reference.spl.splfileinfo;
&reference.spl.splfileobject;
&reference.spl.spltempfileobject;
Modified: phpdoc/en/trunk/reference/spl/interfaces.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/interfaces.xml 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/reference/spl/interfaces.xml 2009-10-07 21:19:36 UTC (rev 289303)
@@ -3,19 +3,13 @@
<part xml:id="spl.interfaces" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Interfaces</title>
+ &spl.interfaces.intro.title;
<partintro>
- <para>
- SPL provides a set of interfaces.
- </para>
+ &spl.interfaces.intro;
- <para>
- See also the <xref linkend="reserved.interfaces" />
- </para>
-
<section xml:id="spl.interfaces.list">
- <title>Interface list</title>
+ &spl.interfaces.list;
<simplelist>
<member><classname>Countable</classname></member>
<member><classname>OuterIterator</classname></member>
Modified: phpdoc/en/trunk/reference/spl/iterators.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/iterators.xml 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/reference/spl/iterators.xml 2009-10-07 21:19:36 UTC (rev 289303)
@@ -3,12 +3,10 @@
<part xml:id="spl.iterators" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Iterators</title>
+ &spl.iterators.intro.title;
<partintro>
- <para>
- SPL provides a set of iterators to traverse over objects.
- </para>
+ &spl.iterators.intro;
<section xml:id="spl.iterators.list">
<title>Undocumented Iterators</title>
Modified: phpdoc/en/trunk/reference/spl/miscellaneous.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/miscellaneous.xml 2009-10-07 21:15:13 UTC (rev 289302)
+++ phpdoc/en/trunk/reference/spl/miscellaneous.xml 2009-10-07 21:19:36 UTC (rev 289303)
@@ -3,15 +3,9 @@
<part xml:id="spl.misc" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Miscellaneous Classes</title>
+ &spl.misc.intro.title;
+ &spl.misc.intro;
- <partintro>
- <para>
- Classes which do not fit into the other SPL categories.
- </para>
-
- </partintro>
-
&reference.spl.arrayobject;
</part>