reference/ldap/functions/ldap-first-attribute.xml
303580c0bea0fa98061951b0eeae275ce439942a
...
...
@@ -9,9 +9,9 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>ldap_first_attribute</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>string</type><type>false</type></type><methodname>ldap_first_attribute</methodname>
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
Gets the first attribute in the given entry. Remaining attributes are
...
...
@@ -28,39 +28,21 @@
28
28
<para>
29
29
<variablelist>
30
30
<varlistentry>
31
-
<term><parameter>link_identifier</parameter></term>
31
+
<term><parameter>ldap</parameter></term>
32
32
<listitem>
33
33
<para>
34
-
An LDAP link identifier, returned by <function>ldap_connect</function>.
34
+
&ldap.parameter.ldap;
35
35
</para>
36
36
</listitem>
37
37
</varlistentry>
38
38
<varlistentry>
39
-
<term><parameter>result_entry_identifier</parameter></term>
39
+
<term><parameter>entry</parameter></term>
40
40
<listitem>
41
41
<para>
42
+
&ldap.parameter.entry;
42
43
</para>
43
44
</listitem>
44
45
</varlistentry>
45
-
<varlistentry>
46
-
<term><parameter>ber_identifier</parameter></term>
47
-
<listitem>
48
-
<para>
49
-
<parameter>ber_identifier</parameter> is the identifier to internal
50
-
memory location pointer. It is passed by reference. The same
51
-
<parameter>ber_identifier</parameter> is passed to
52
-
<function>ldap_next_attribute</function> , which modifies that
53
-
pointer.
54
-
</para>
55
-
<note>
56
-
<para>
57
-
This parameter is no longer used as this is now handled automatically
58
-
by PHP. For backwards compatibility PHP will not throw an error if
59
-
this parameter is passed.
60
-
</para>
61
-
</note>
62
-
</listitem>
63
-
</varlistentry>
64
46
</variablelist>
65
47
</para>
66
48
</refsect1>
...
...
@@ -75,27 +57,26 @@
75
57

76
58
<refsect1 role="changelog">
77
59
&reftitle.changelog;
78
-
<para>
79
-
<informaltable>
80
-
<tgroup cols="2">
81
-
<thead>
82
-
<row>
83
-
<entry>&Version;</entry>
84
-
<entry>&Description;</entry>
85
-
</row>
86
-
</thead>
87
-
<tbody>
88
-
<row>
89
-
<entry>5.2.4</entry>
90
-
<entry>
91
-
The <parameter>ber_identifier</parameter> was removed. This
92
-
is now handled automatically by PHP.
93
-
</entry>
94
-
</row>
95
-
</tbody>
96
-
</tgroup>
97
-
</informaltable>
98
-
</para>
60
+
<informaltable>
61
+
<tgroup cols="2">
62
+
<thead>
63
+
<row>
64
+
<entry>&Version;</entry>
65
+
<entry>&Description;</entry>
66
+
</row>
67
+
</thead>
68
+
<tbody>
69
+
&ldap.changelog.ldap-object;
70
+
&ldap.changelog.entry-object;
71
+
<row>
72
+
<entry>8.0.0</entry>
73
+
<entry>
74
+
The unused third parameter <parameter>ber_identifier</parameter> is no longer accepted.
75
+
</entry>
76
+
</row>
77
+
</tbody>
78
+
</tgroup>
79
+
</informaltable>
99
80
</refsect1>
100
81

101
82
<refsect1 role="seealso">
...
...
@@ -109,7 +90,6 @@
109
90
</refsect1>
110
91

111
92
</refentry>
112
-

113
93
<!-- Keep this comment at the end of the file
114
94
Local variables:
115
95
mode: sgml
116
96