File tree Expand file tree Collapse file tree 3 files changed +45
-10
lines changed
reference/intl/transliterator Expand file tree Collapse file tree 3 files changed +45
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 3379a5403818033142bcf389d6ef30a203458a22 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: fa127017c20892558c0b455335c2a25341fa16fc Maintainer: takagi Status: ready -->
4
+ <!-- Credits: mumumu -->
4
5
5
6
<refentry xml : id =" transliterator.construct" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
7
<refnamediv >
11
12
<refsect1 role =" description" >
12
13
&reftitle.description;
13
14
<constructorsynopsis >
14
- <methodname >Transliterator::__construct</methodname >
15
+ <modifier >private</ modifier > < methodname >Transliterator::__construct</methodname >
15
16
<void />
16
17
</constructorsynopsis >
17
18
<para >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 181d35a2f3e8603108637504bb693d19c6deb1f9 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: fa127017c20892558c0b455335c2a25341fa16fc Maintainer: takagi Status: ready -->
4
+ <!-- Credits: mumumu -->
4
5
5
6
<refentry xml : id =" transliterator.create" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
7
<refnamediv >
24
25
<methodparam choice =" opt" ><type >int</type ><parameter >direction</parameter ></methodparam >
25
26
</methodsynopsis >
26
27
<para >
27
- id を指定して Transliterator をオープンします。
28
+ ID を指定して Transliterator をオープンします。
28
29
</para >
29
30
30
31
&warn.undocumented.func;
38
39
<term ><parameter >id</parameter ></term >
39
40
<listitem >
40
41
<para >
41
- id。
42
+ ID を指定します。
43
+ 全ての登録済みの transliterator ID は、
44
+ <methodname >Transliterator::listIDs</methodname > を使って取得できます。
42
45
</para >
43
46
</listitem >
44
47
</varlistentry >
47
50
<listitem >
48
51
<para >
49
52
方向。デフォルトは
50
- <link linkend =" transliterator.constants.forward" >> Transliterator::FORWARD</link > です。
53
+ <link linkend =" transliterator.constants.forward" >Transliterator::FORWARD</link > です。
51
54
<link linkend =" transliterator.constants.reverse" >Transliterator::REVERSE</link > も指定できます。
52
55
</para >
53
56
</listitem >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: bb07a3195b898ce2b47c2dfc072b5d92c7e499ee Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: fa127017c20892558c0b455335c2a25341fa16fc Maintainer: takagi Status: ready -->
4
+ <!-- Credits: mumumu -->
4
5
5
6
<refentry xml : id =" transliterator.listids" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
7
<refnamediv >
24
25
<para >
25
26
登録されている Transliterator ID の配列を返します。
26
27
</para >
27
-
28
- &warn.undocumented.func;
29
-
30
28
</refsect1 >
31
29
32
30
<refsect1 role =" parameters" >
42
40
</para >
43
41
</refsect1 >
44
42
43
+ <refsect1 role =" examples" >
44
+ &reftitle.examples;
45
+ <example xml : id =" transliterator.listids.example.basic" >
46
+ <title >登録済みの transliterator ID を取得する</title >
47
+ <programlisting role =" php" >
48
+ <![CDATA[
49
+ <?php
50
+ print_r(Transliterator::listIDs());
51
+ ?>
52
+ ]]>
53
+ </programlisting >
54
+ &example.outputs.similar;
55
+ <screen >
56
+ <![CDATA[
57
+ Array
58
+ (
59
+ [0] => ASCII-Latin
60
+ [1] => Accents-Any
61
+ [2] => Amharic-Latin/BGN
62
+ [3] => Any-Accents
63
+ [4] => Any-Publishing
64
+ ...
65
+ [650] => Any-ps_Latn/BGN
66
+ [651] => Any-tk/BGN
67
+ [652] => Any-ch_FONIPA
68
+ [653] => Any-cs_FONIPA
69
+ [654] => Any-cy_FONIPA
70
+ )
71
+ ]]>
72
+ </screen >
73
+ </example >
74
+ </refsect1 >
75
+
45
76
<refsect1 role =" seealso" >
46
77
&reftitle.seealso;
47
78
<para >
You can’t perform that action at this time.
0 commit comments