mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Make datetimezone_open an alias to construct, just like the rest of the functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298828 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
27bf45e6df
commit
013b8d588c
2 changed files with 10 additions and 33 deletions
|
@ -9,10 +9,16 @@
|
|||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>&style.oop;</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <methodname>DateTimeZone::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<type>DateTimeZone</type><methodname>timezone_open</methodname>
|
||||
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Creates new DateTimeZone object.
|
||||
</para>
|
||||
|
@ -38,6 +44,7 @@
|
|||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns <classname>DateTimeZone</classname> on success.
|
||||
&style.procedural; returns &return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -3,42 +3,12 @@
|
|||
<refentry xml:id="function.timezone-open" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>timezone_open</refname>
|
||||
<refpurpose>Returns new DateTimeZone object</refpurpose>
|
||||
<refpurpose>&Alias; <methodname>DateTimeZone::__construct</methodname></refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>DateTimeZone</type><methodname>timezone_open</methodname>
|
||||
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>DateTimeZone</type><methodname>DateTimeZone::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>timezone</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Time zone identifier as full name (e.g. Europe/Prague) or abbreviation
|
||||
(e.g. CET).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns DateTimeZone object on success &return.falseforfailure;.
|
||||
</para>
|
||||
&info.function.alias; <methodname>DateTimeZone::__construct</methodname>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue