reference/intl/transliterator/listids.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="transliterator.listids" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Transliterator::listIDs</refname>
...
...
@@ -11,21 +10,18 @@
11
10
<refsect1 role="description">
12
11
&reftitle.description;
13
12
<para>&style.oop;</para>
14
-
<methodsynopsis>
15
-
<modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>Transliterator::listIDs</methodname>
16
-
<void />
13
+
<methodsynopsis role="Transliterator">
14
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>Transliterator::listIDs</methodname>
15
+
<void/>
17
16
</methodsynopsis>
18
17
<para>&style.procedural;</para>
19
18
<methodsynopsis>
20
-
<type>array</type><methodname>transliterator_list_ids</methodname>
21
-
<void />
19
+
<type class="union"><type>array</type><type>false</type></type><methodname>transliterator_list_ids</methodname>
20
+
<void/>
22
21
</methodsynopsis>
23
22
<para>
24
23
Returns an array with the registered transliterator IDs.
25
24
</para>
26
-

27
-
&warn.undocumented.func;
28
-

29
25
</refsect1>
30
26

31
27
<refsect1 role="parameters">
...
...
@@ -41,6 +37,39 @@
41
37
</para>
42
38
</refsect1>
43
39

40
+
<refsect1 role="examples">
41
+
&reftitle.examples;
42
+
<example xml:id="transliterator.listids.example.basic">
43
+
<title>Retrieving the registered transliterator IDs</title>
44
+
<programlisting role="php">
45
+
<![CDATA[
46
+
<?php
47
+
print_r(Transliterator::listIDs());
48
+
?>
49
+
]]>
50
+
</programlisting>
51
+
&example.outputs.similar;
52
+
<screen>
53
+
<![CDATA[
54
+
Array
55
+
(
56
+
[0] => ASCII-Latin
57
+
[1] => Accents-Any
58
+
[2] => Amharic-Latin/BGN
59
+
[3] => Any-Accents
60
+
[4] => Any-Publishing
61
+
...
62
+
[650] => Any-ps_Latn/BGN
63
+
[651] => Any-tk/BGN
64
+
[652] => Any-ch_FONIPA
65
+
[653] => Any-cs_FONIPA
66
+
[654] => Any-cy_FONIPA
67
+
)
68
+
]]>
69
+
</screen>
70
+
</example>
71
+
</refsect1>
72
+

44
73
<refsect1 role="seealso">
45
74
&reftitle.seealso;
46
75
<para>
...
...
@@ -52,7 +81,6 @@
52
81
</refsect1>
53
82

54
83
</refentry>
55
-

56
84
<!-- Keep this comment at the end of the file
57
85
Local variables:
58
86
mode: sgml
59
87