reference/ldap/functions/ldap-get-values.xml
bc90525a5a5ebcf8412ef34b8355d2de12166fff
...
...
@@ -9,16 +9,16 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>ldap_get_values</methodname>
13
-
<methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam>
14
-
<methodparam><type>resource</type><parameter>result_entry_identifier</parameter></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>ldap_get_values</methodname>
13
+
<methodparam><type>LDAP\Connection</type><parameter>ldap</parameter></methodparam>
14
+
<methodparam><type>LDAP\ResultEntry</type><parameter>entry</parameter></methodparam>
15
15
<methodparam><type>string</type><parameter>attribute</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Reads all the values of the attribute in the entry in the result.
19
19
</para>
20
20
<para>
21
-
This call needs a <parameter>result_entry_identifier</parameter>,
21
+
This call needs a <parameter>entry</parameter>,
22
22
so needs to be preceded by one of the ldap search calls and one
23
23
of the calls to get an individual entry.
24
24
</para>
...
...
@@ -35,17 +35,18 @@
35
35
<para>
36
36
<variablelist>
37
37
<varlistentry>
38
-
<term><parameter>link_identifier</parameter></term>
38
+
<term><parameter>ldap</parameter></term>
39
39
<listitem>
40
40
<para>
41
-
An LDAP link identifier, returned by <function>ldap_connect</function>.
41
+
&ldap.parameter.ldap;
42
42
</para>
43
43
</listitem>
44
44
</varlistentry>
45
45
<varlistentry>
46
-
<term><parameter>result_entry_identifier</parameter></term>
46
+
<term><parameter>entry</parameter></term>
47
47
<listitem>
48
48
<para>
49
+
&ldap.parameter.entry;
49
50
</para>
50
51
</listitem>
51
52
</varlistentry>
...
...
@@ -82,6 +83,24 @@
82
83
</para>
83
84
</refsect1>
84
85

86
+
<refsect1 role="changelog">
87
+
&reftitle.changelog;
88
+
<informaltable>
89
+
<tgroup cols="2">
90
+
<thead>
91
+
<row>
92
+
<entry>&Version;</entry>
93
+
<entry>&Description;</entry>
94
+
</row>
95
+
</thead>
96
+
<tbody>
97
+
&ldap.changelog.ldap-object;
98
+
&ldap.changelog.entry-object;
99
+
</tbody>
100
+
</tgroup>
101
+
</informaltable>
102
+
</refsect1>
103
+

85
104
<refsect1 role="examples">
86
105
&reftitle.examples;
87
106
<para>
...
...
@@ -91,7 +110,7 @@
91
110
<programlisting role="php">
92
111
<![CDATA[
93
112
<?php
94
-
// $ds is a valid link identifier for a directory server
113
+
// $ds is a valid LDAP\Connection instance for a directory server
95
114

96
115
// $sr is a valid search result from a prior call to
97
116
// one of the ldap directory search calls
...
...
@@ -123,7 +142,6 @@ for ($i=0; $i < $values["count"]; $i++) {
123
142
</refsect1>
124
143

125
144
</refentry>
126
-

127
145
<!-- Keep this comment at the end of the file
128
146
Local variables:
129
147
mode: sgml
130
148