mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Add stubs for the IntlDateFormatter methods.
That's all I have time for today, so I guess we'll be pushing out a somewhat incomplete build this week. I'm OK with that, though, since we've covered the non-intl functions, at least. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328474 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2927587d3f
commit
53471c1418
5 changed files with 311 additions and 0 deletions
96
reference/intl/dateformatter/formatobject.xml
Normal file
96
reference/intl/dateformatter/formatobject.xml
Normal file
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="intldateformatter.formatobject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::formatObject</refname>
|
||||
<refname>datefmt_format_object</refname>
|
||||
<refpurpose>Formats an object</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>IntlDateFormatter::formatObject</methodname>
|
||||
<methodparam><type>object</type><parameter>object</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>format</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>locale</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <modifier>static</modifier>
|
||||
<type>string</type><methodname>datefmt_format_object</methodname>
|
||||
<methodparam><type>object</type><parameter>object</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>mixed</type><parameter>format</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>locale</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>object</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>format</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>locale</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
69
reference/intl/dateformatter/getcalendarobject.xml
Normal file
69
reference/intl/dateformatter/getcalendarobject.xml
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="intldateformatter.getcalendarobject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getCalendarObject</refname>
|
||||
<refname>datefmt_get_calendar_object</refname>
|
||||
<refpurpose>Get formatter calendar</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier>
|
||||
<type>IntlCalendar</type>
|
||||
<methodname>IntlDateFormatter::getCalendarObject</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<type>IntlCalendar</type>
|
||||
<methodname>datefmt_get_calendar_object</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
64
reference/intl/dateformatter/gettimezone.xml
Normal file
64
reference/intl/dateformatter/gettimezone.xml
Normal file
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="intldateformatter.gettimezone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::getTimeZone</refname>
|
||||
<refname>datefmt_get_timezone</refname>
|
||||
<refpurpose>Get formatter timezone</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>IntlTimeZone</type><methodname>IntlDateFormatter::getTimeZone</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<type>IntlTimeZone</type>
|
||||
<methodname>datefmt_get_timezone</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
78
reference/intl/dateformatter/settimezone.xml
Normal file
78
reference/intl/dateformatter/settimezone.xml
Normal file
|
@ -0,0 +1,78 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="intldateformatter.settimezone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>IntlDateFormatter::setTimeZone</refname>
|
||||
<refname>datefmt_set_timezone</refname>
|
||||
<refpurpose>Sets formatter's timezone</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<para>
|
||||
&style.oop;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier>
|
||||
<type>boolean</type>
|
||||
<methodname>IntlDateFormatter::setTimeZone</methodname>
|
||||
<methodparam><type>mixed</type><parameter>zone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&style.procedural;
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<type>boolean</type>
|
||||
<methodname>datefmt_set_timezone</methodname>
|
||||
<methodparam><type>mixed</type><parameter>zone</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
||||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zone</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -27,7 +27,10 @@
|
|||
<function name='intldateformatter::getdatetype' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::gettimetype' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::getcalendar' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::getcalendarobject' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='intldateformatter::setcalendar' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::gettimezone' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='intldateformatter::settimezone' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='intldateformatter::gettimezoneid' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::settimezoneid' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::setpattern' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
|
@ -36,6 +39,7 @@
|
|||
<function name='intldateformatter::setlenient' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::islenient' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::format' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::formatobject' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='intldateformatter::parse' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::localtime' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
<function name='intldateformatter::geterrorcode' from='PHP 5 >= 5.3.0, PECL intl >= 1.0.0'/>
|
||||
|
|
Loading…
Reference in a new issue