reference/spl/arrayiterator/asort.xml
2ca090342977839edca2f7f4e52305a1b5da6095
...
...
@@ -1,35 +1,53 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="arrayiterator.asort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ArrayIterator::asort</refname>
7
-
<refpurpose>Sort array by values</refpurpose>
6
+
<refpurpose>Sort entries by values</refpurpose>
8
7
</refnamediv>
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>void</type><methodname>ArrayIterator::asort</methodname>
14
-
<void />
11
+
<methodsynopsis role="ArrayIterator">
12
+
<modifier>public</modifier> <type>true</type><methodname>ArrayIterator::asort</methodname>
13
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
-
Sorts an array by values.
16
+
Sorts entries by their values.
18
17
</para>
19
-

20
-
&warn.undocumented.func;
21
-

18
+
&note.sort-unstable;
22
19
</refsect1>
23
20

24
21
<refsect1 role="parameters">
25
22
&reftitle.parameters;
26
-
&no.function.parameters;
23
+
<variablelist>
24
+
&sort.flags.parameter;
25
+
</variablelist>
27
26
</refsect1>
28
27

29
28
<refsect1 role="returnvalues">
30
29
&reftitle.returnvalues;
31
30
<para>
32
-
&return.void;
31
+
&return.true.always;
32
+
</para>
33
+
</refsect1>
34
+

35
+
<refsect1 role="changelog">
36
+
&reftitle.changelog;
37
+
<para>
38
+
<informaltable>
39
+
<tgroup cols="2">
40
+
<thead>
41
+
<row>
42
+
<entry>&Version;</entry>
43
+
<entry>&Description;</entry>
44
+
</row>
45
+
</thead>
46
+
<tbody>
47
+
&return.type.true;
48
+
</tbody>
49
+
</tgroup>
50
+
</informaltable>
33
51
</para>
34
52
</refsect1>
35
53

...
...
@@ -40,12 +58,14 @@
40
58
<member><methodname>ArrayIterator::ksort</methodname></member>
41
59
<member><methodname>ArrayIterator::natcasesort</methodname></member>
42
60
<member><methodname>ArrayIterator::natsort</methodname></member>
61
+
<member><methodname>ArrayIterator::uasort</methodname></member>
62
+
<member><methodname>ArrayIterator::uksort</methodname></member>
63
+
<member><function>asort</function></member>
43
64
</simplelist>
44
65
</para>
45
66
</refsect1>
46
67

47
68
</refentry>
48
-

49
69
<!-- Keep this comment at the end of the file
50
70
Local variables:
51
71
mode: sgml
52
72