reference/intl/intltimezone/getdisplayname.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,19 +1,28 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intltimezone.getdisplayname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlTimeZone::getDisplayName</refname>
6
+
<refname>intltz_get_display_name</refname>
7
7
<refpurpose>Get a name of this time zone suitable for presentation to the user</refpurpose>
8
8
</refnamediv>
9
9

10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
+
<para>&style.oop; (method):</para>
13
+
<methodsynopsis role="IntlTimeZone">
14
+
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlTimeZone::getDisplayName</methodname>
15
+
<methodparam choice="opt"><type>bool</type><parameter>dst</parameter><initializer>&false;</initializer></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>style</parameter><initializer>IntlTimeZone::DISPLAY_LONG</initializer></methodparam>
17
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter><initializer>&null;</initializer></methodparam>
18
+
</methodsynopsis>
19
+
<para>&style.procedural;:</para>
12
20
<methodsynopsis>
13
-
<modifier>public</modifier> <type>string</type><methodname>IntlTimeZone::getDisplayName</methodname>
14
-
<methodparam choice="opt"><type>bool</type><parameter>isDaylight</parameter></methodparam>
15
-
<methodparam choice="opt"><type>integer</type><parameter>style</parameter></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>locale</parameter></methodparam>
21
+
<type class="union"><type>string</type><type>false</type></type><methodname>intltz_get_display_name</methodname>
22
+
<methodparam><type>IntlTimeZone</type><parameter>timezone</parameter></methodparam>
23
+
<methodparam choice="opt"><type>bool</type><parameter>dst</parameter><initializer>&false;</initializer></methodparam>
24
+
<methodparam choice="opt"><type>int</type><parameter>style</parameter><initializer>IntlTimeZone::DISPLAY_LONG</initializer></methodparam>
25
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter><initializer>&null;</initializer></methodparam>
17
26
</methodsynopsis>
18
27
<para>
19
28

...
...
@@ -27,7 +36,7 @@
27
36
&reftitle.parameters;
28
37
<variablelist>
29
38
<varlistentry>
30
-
<term><parameter>isDaylight</parameter></term>
39
+
<term><parameter>dst</parameter></term>
31
40
<listitem>
32
41
<para>
33
42
...
...
@@ -62,7 +71,6 @@
62
71

63
72

64
73
</refentry>
65
-

66
74
<!-- Keep this comment at the end of the file
67
75
Local variables:
68
76
mode: sgml
69
77