language/predefined/exception/getcode.xml
09c49da6f0167fcdfe53a76e3ea28ecfc0eb337b
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="exception.getcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Exception::getCode</refname>
...
...
@@ -9,9 +8,9 @@
9
8
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>Exception::getCode</methodname>
14
-
<void />
11
+
<methodsynopsis role="Exception">
12
+
<modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getCode</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns the Exception code.
...
...
@@ -26,7 +25,7 @@
26
25
<refsect1 role="returnvalues">
27
26
&reftitle.returnvalues;
28
27
<para>
29
-
Returns the exception code as <type>integer</type> in
28
+
Returns the exception code as <type>int</type> in
30
29
<classname>Exception</classname> but possibly as other type in
31
30
<classname>Exception</classname> descendants (for example as
32
31
<type>string</type> in <classname>PDOException</classname>).
...
...
@@ -68,7 +67,6 @@ The exception code is: 30
68
67
</para>
69
68
</refsect1>
70
69
</refentry>
71
-
72
70
<!-- Keep this comment at the end of the file
73
71
Local variables:
74
72
mode: sgml
...
...
@@ -89,4 +87,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
89
87
vim: et tw=78 syn=sgml
90
88
vi: ts=1 sw=1
91
89
-->
92
-

93
90