reference/ldap/functions/ldap-get-attributes.xml
c97d168c2b347e0e63a9e367b4c92dffe071e22a
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>ldap_get_attributes</methodname>
13
-
<methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
14
-
<methodparam><type>resource</type><parameter>result_entry_identifier</parameter></methodparam>
13
+
<methodparam><type>LDAP\Connection</type><parameter>ldap</parameter></methodparam>
14
+
<methodparam><type>LDAP\ResultEntry</type><parameter>entry</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Reads attributes and values from an entry in the search result.
...
...
@@ -44,17 +44,18 @@ return_value["attribute"][i] = (i+1)th value of the attribute
44
44
<para>
45
45
<variablelist>
46
46
<varlistentry>
47
-
<term><parameter>link_identifier</parameter></term>
47
+
<term><parameter>ldap</parameter></term>
48
48
<listitem>
49
49
<para>
50
-
An LDAP link identifier, returned by <function>ldap_connect</function>.
50
+
&ldap.parameter.ldap;
51
51
</para>
52
52
</listitem>
53
53
</varlistentry>
54
54
<varlistentry>
55
-
<term><parameter>result_entry_identifier</parameter></term>
55
+
<term><parameter>entry</parameter></term>
56
56
<listitem>
57
57
<para>
58
+
&ldap.parameter.entry;
58
59
</para>
59
60
</listitem>
60
61
</varlistentry>
...
...
@@ -65,11 +66,28 @@ return_value["attribute"][i] = (i+1)th value of the attribute
65
66
<refsect1 role="returnvalues">
66
67
&reftitle.returnvalues;
67
68
<para>
68
-
Returns a complete entry information in a multi-dimensional array
69
-
on success and &false; on error.
69
+
Returns a complete entry information in a multi-dimensional array.
70
70
</para>
71
71
</refsect1>
72
72

73
+
<refsect1 role="changelog">
74
+
&reftitle.changelog;
75
+
<informaltable>
76
+
<tgroup cols="2">
77
+
<thead>
78
+
<row>
79
+
<entry>&Version;</entry>
80
+
<entry>&Description;</entry>
81
+
</row>
82
+
</thead>
83
+
<tbody>
84
+
&ldap.changelog.ldap-object;
85
+
&ldap.changelog.entry-object;
86
+
</tbody>
87
+
</tgroup>
88
+
</informaltable>
89
+
</refsect1>
90
+

73
91
<refsect1 role="examples">
74
92
&reftitle.examples;
75
93
<para>
...
...
@@ -80,7 +98,7 @@ return_value["attribute"][i] = (i+1)th value of the attribute
80
98
<programlisting role="php">
81
99
<![CDATA[
82
100
<?php
83
-
// $ds is the link identifier for the directory
101
+
// $ds is a valid LDAP\Connection instance for a directory server
84
102

85
103
// $sr is a valid search result from a prior call to
86
104
// one of the ldap directory search calls
...
...
@@ -112,7 +130,6 @@ for ($i=0; $i < $attrs["count"]; $i++) {
112
130
</refsect1>
113
131

114
132
</refentry>
115
-

116
133
<!-- Keep this comment at the end of the file
117
134
Local variables:
118
135
mode: sgml
119
136