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

4
3
<refentry xml:id="intlchar.ord" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::ord</refname>
...
...
@@ -9,15 +8,15 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <modifier>static</modifier> <type>int</type><methodname>IntlChar::ord</methodname>
14
-
<methodparam><type>mixed</type><parameter>character</parameter></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>int</type><type>null</type></type><methodname>IntlChar::ord</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>character</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns the Unicode code point value of the given character.
18
17
</para>
19
18
<para>
20
-
This function compliments <function>IntlChar::chr</function>.
19
+
This function complements <function>IntlChar::chr</function>.
21
20
</para>
22
21
</refsect1>
23
22

...
...
@@ -27,9 +26,7 @@
27
26
<varlistentry>
28
27
<term><parameter>character</parameter></term>
29
28
<listitem>
30
-
<para>
31
-
A Unicode character.
32
-
</para>
29
+
&intl.codepoint.parameter;
33
30
</listitem>
34
31
</varlistentry>
35
32
</variablelist>
...
...
@@ -70,16 +67,14 @@ int(9731)
70
67
&reftitle.seealso;
71
68
<para>
72
69
<simplelist>
73
-
<member><function>IntlChar::isalnum</function></member>
74
-
<member><function>IntlChar::isdigit</function></member>
75
70
<member><function>IntlChar::chr</function></member>
71
+
<member><function>mb_ord</function></member>
76
72
<member><function>ord</function></member>
77
73
</simplelist>
78
74
</para>
79
75
</refsect1>
80
76

81
77
</refentry>
82
-

83
78
<!-- Keep this comment at the end of the file
84
79
Local variables:
85
80
mode: sgml
86
81