reference/mysqli/mysqli/ping.xml
63b99082ef83eade08151f8cb528246fded81db9
...
...
@@ -10,19 +10,18 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<para>&style.oop;</para>
13
-
<methodsynopsis role="oop">
14
-
<type>bool</type><methodname>mysqli::ping</methodname>
13
+
<methodsynopsis role="mysqli">
14
+
<modifier>public</modifier> <type>bool</type><methodname>mysqli::ping</methodname>
15
15
<void/>
16
16
</methodsynopsis>
17
17
<para>&style.procedural;</para>
18
18
<methodsynopsis>
19
19
<type>bool</type><methodname>mysqli_ping</methodname>
20
-
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
20
+
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
21
21
</methodsynopsis>
22
22
<para>
23
23
Checks whether the connection to the server is working. If it has gone
24
-
down and global option <link
25
-
linkend="ini.mysqli.reconnect">mysqli.reconnect</link> is enabled,
24
+
down and global option <link linkend="ini.mysqli.reconnect">mysqli.reconnect</link> is enabled,
26
25
an automatic reconnection is attempted.
27
26
</para>
28
27
<note>
...
...
@@ -54,6 +53,11 @@
54
53
</para>
55
54
</refsect1>
56
55

56
+
<refsect1 role="errors">
57
+
&reftitle.errors;
58
+
&mysqli.conditionalexception;
59
+
</refsect1>
60
+

57
61
<refsect1 role="examples">
58
62
&reftitle.examples;
59
63
<example>
...
...
@@ -116,7 +120,6 @@ Our connection is ok!
116
120
</refsect1>
117
121

118
122
</refentry>
119
-

120
123
<!-- Keep this comment at the end of the file
121
124
Local variables:
122
125
mode: sgml
123
126