reference/ldap/functions/ldap-error.xml
fbc6f9055f47d18f8ffb30513b772a32eda1526e
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>ldap_error</methodname>
13
-
<methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
13
+
<methodparam><type>LDAP\Connection</type><parameter>ldap</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Returns the string error message explaining the error generated by the
17
-
last LDAP command for the given <parameter>link_identifier</parameter>.
17
+
last LDAP command for the given <parameter>ldap</parameter>.
18
18
While LDAP errno numbers are standardized, different libraries return
19
19
different or even localized textual error messages. Never check for a
20
20
specific error message text, but always use an error number to check.
...
...
@@ -32,10 +32,10 @@
32
32
<para>
33
33
<variablelist>
34
34
<varlistentry>
35
-
<term><parameter>link_identifier</parameter></term>
35
+
<term><parameter>ldap</parameter></term>
36
36
<listitem>
37
37
<para>
38
-
An LDAP link identifier, returned by <function>ldap_connect</function>.
38
+
&ldap.parameter.ldap;
39
39
</para>
40
40
</listitem>
41
41
</varlistentry>
...
...
@@ -50,6 +50,23 @@
50
50
</para>
51
51
</refsect1>
52
52

53
+
<refsect1 role="changelog">
54
+
&reftitle.changelog;
55
+
<informaltable>
56
+
<tgroup cols="2">
57
+
<thead>
58
+
<row>
59
+
<entry>&Version;</entry>
60
+
<entry>&Description;</entry>
61
+
</row>
62
+
</thead>
63
+
<tbody>
64
+
&ldap.changelog.ldap-object;
65
+
</tbody>
66
+
</tgroup>
67
+
</informaltable>
68
+
</refsect1>
69
+

53
70
<refsect1 role="seealso">
54
71
&reftitle.seealso;
55
72
<para>
...
...
@@ -61,7 +78,6 @@
61
78
</refsect1>
62
79

63
80
</refentry>
64
-

65
81
<!-- Keep this comment at the end of the file
66
82
Local variables:
67
83
mode: sgml
68
84