cvs: phpdoc /en/reference/haru haruexception.xml /en/reference/pdo book.xml pdoexception.xml
| From: | Hannes Magnusson | Date: | Wed, 23 Jul 2008 18:45:08 +0000 |
| Subject: | cvs: phpdoc /en/reference/haru haruexception.xml /en/reference/pdo book.xml pdoexception.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1905@lists.php.net to get a copy of this message | ||
bjori Wed Jul 23 18:45:08 2008 UTC
Modified files:
/phpdoc/en/reference/haru haruexception.xml
/phpdoc/en/reference/pdo book.xml pdoexception.xml
Log:
Use the new phpdoc:exception element for exceptions
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/haru/haruexception.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/haru/haruexception.xml
diff -u phpdoc/en/reference/haru/haruexception.xml:1.4
phpdoc/en/reference/haru/haruexception.xml:1.5
--- phpdoc/en/reference/haru/haruexception.xml:1.4 Wed Dec 26 18:56:28 2007
+++ phpdoc/en/reference/haru/haruexception.xml Wed Jul 23 18:45:07 2008
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.4 $ -->
-<reference xml:id="class.haruexception" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+<!-- $Revision: 1.5 $ -->
+<phpdoc:exception xml:id="class.haruexception" xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:phpdoc="http://php.net/ns/phpdoc">
<title>The HaruException class</title>
<titleabbrev>HaruException</titleabbrev>
@@ -35,32 +38,15 @@
</classsynopsisinfo>
<!-- }}} -->
-<!--
-FIXME:
- Once the
Exception class has been documented with the
- new-ref-struct-style this should be commented in.
<classsynopsisinfo role="comment">Inherits</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"
/>
--->
+
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
-<!-- FIXME: !!! This should be removed! -->
- <refentry>
- <refnamediv>
- <refname>HaruException</refname>
- <refpurpose>Dummy page</refpurpose>
- </refnamediv>
- <refsection>
- <title>Dummy</title>
- <para>This is a dummy page created to satisfy Docbook standards</para>
- </refsection>
- </refentry>
- <!--&reference.haru.entities.haruexception;-->
-
-</reference>
+</phpdoc:exception>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/book.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/pdo/book.xml
diff -u phpdoc/en/reference/pdo/book.xml:1.4 phpdoc/en/reference/pdo/book.xml:1.5
--- phpdoc/en/reference/pdo/book.xml:1.4 Mon Dec 31 16:06:50 2007
+++ phpdoc/en/reference/pdo/book.xml Wed Jul 23 18:45:07 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- Purpose: database.abstract -->
<!-- Membership: pecl, bundled -->
@@ -46,9 +46,7 @@
&reference.pdo.pdo;
&reference.pdo.pdostatement;
- <!-- FIXME: Find out how to deal with classess without any methods
&reference.pdo.pdoexception;
- -->
&reference.pdo.drivers;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/pdoexception.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/pdo/pdoexception.xml
diff -u phpdoc/en/reference/pdo/pdoexception.xml:1.1 phpdoc/en/reference/pdo/pdoexception.xml:1.2
--- phpdoc/en/reference/pdo/pdoexception.xml:1.1 Mon Dec 31 14:34:04 2007
+++ phpdoc/en/reference/pdo/pdoexception.xml Wed Jul 23 18:45:07 2008
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
-<reference xml:id="class.pdoexception" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+<phpdoc:exception xml:id="class.pdoexception" xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:phpdoc="http://php.net/ns/phpdoc">
<title>The PDOException class</title>
<titleabbrev>PDOException</titleabbrev>
@@ -57,7 +60,10 @@
<varname linkend="pdoexception.props.code">code</varname>
</fieldsynopsis><!-- }}} -->
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.pdoexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"
/>
+ <classsynopsisinfo role="comment">Inherited methods</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
+
xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"
+ />
<!-- FIXME: Enable when RuntimeException gets documented
<classsynopsisinfo role="comment">Inherited methods</classsynopsisinfo>
@@ -86,6 +92,7 @@
<listitem>
<para>
Textual error message. <function>Exception::getMessage</function> to access it.
+ </para>
</listitem>
</varlistentry><!-- }}} -->
<varlistentry xml:id="pdoexception.props.code"><!-- {{{ -->
@@ -103,9 +110,7 @@
</partintro>
- &reference.pdo.entities.pdoexception;
-
-</reference>
+</phpdoc:exception>
<!-- Keep this comment at the end of the file
Local variables: