reference/mysqli/mysqli_stmt/attr-get.xml
035c126c0393fe154bac46e2c3c489ebadce48a5
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="mysqli-stmt.attr-get" xmlns="http://docbook.org/ns/docbook">
5
4
<refnamediv>
6
5
<refname>mysqli_stmt::attr_get</refname>
...
...
@@ -11,15 +10,15 @@
11
10
<refsect1 role="description">
12
11
&reftitle.description;
13
12
<para>&style.oop;</para>
14
-
<methodsynopsis role="oop">
15
-
<type>int</type><methodname>mysqli_stmt::attr_get</methodname>
16
-
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
13
+
<methodsynopsis role="mysqli_stmt">
14
+
<modifier>public</modifier> <type>int</type><methodname>mysqli_stmt::attr_get</methodname>
15
+
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
17
16
</methodsynopsis>
18
17
<para>&style.procedural;</para>
19
18
<methodsynopsis>
20
19
<type>int</type><methodname>mysqli_stmt_attr_get</methodname>
21
-
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
22
-
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
20
+
<methodparam><type>mysqli_stmt</type><parameter>statement</parameter></methodparam>
21
+
<methodparam><type>int</type><parameter>attribute</parameter></methodparam>
23
22
</methodsynopsis>
24
23
<para>
25
24
Gets the current value of a statement attribute.
...
...
@@ -32,7 +31,7 @@
32
31
<variablelist>
33
32
&mysqli.stmt.description;
34
33
<varlistentry>
35
-
<term><parameter>attr</parameter></term>
34
+
<term><parameter>attribute</parameter></term>
36
35
<listitem>
37
36
<para>
38
37
The attribute that you want to get.
...
...
@@ -46,11 +45,10 @@
46
45
<refsect1 role="returnvalues">
47
46
&reftitle.returnvalues;
48
47
<para>
49
-
Returns &false; if the attribute is not found, otherwise returns the value of the attribute.
48
+
Returns the value of the attribute.
50
49
</para>
51
50
</refsect1>
52
51
</refentry>
53
-

54
52
<!-- Keep this comment at the end of the file
55
53
Local variables:
56
54
mode: sgml
57
55