reference/mysqli/mysqli_warning/next.xml
035c126c0393fe154bac46e2c3c489ebadce48a5
...
...
@@ -1,23 +1,25 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="mysqli-warning.next" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>mysqli_warning::next</refname>
7
-
<refpurpose>The next purpose</refpurpose>
6
+
<refpurpose>Fetch next warning</refpurpose>
8
7
</refnamediv>
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis role="oop">
13
-
<modifier>public</modifier> <type>void</type><methodname>mysqli_warning::next</methodname>
14
-
<void />
11
+
<methodsynopsis role="mysqli_warning">
12
+
<modifier>public</modifier> <type>bool</type><methodname>mysqli_warning::next</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
-

16
+
Change warning information to the next warning if possible.
17
+
</para>
18
+
<para>
19
+
Once the warning has been set to the next warning, new values of properties <literal>message</literal>,
20
+
<literal>sqlstate</literal> and <literal>errno</literal> of <classname>mysqli_warning</classname>
21
+
are available.
18
22
</para>
19
-

20
-
&warn.undocumented.func;
21
23

22
24
</refsect1>
23
25

...
...
@@ -29,13 +31,13 @@
29
31
<refsect1 role="returnvalues">
30
32
&reftitle.returnvalues;
31
33
<para>
32
-

34
+
Returns &true; if next warning was fetched successfully.
35
+
If there are no more warnings, it will return &false;
33
36
</para>
34
37
</refsect1>
35
38

36
39

37
40
</refentry>
38
-

39
41
<!-- Keep this comment at the end of the file
40
42
Local variables:
41
43
mode: sgml
42
44