mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
ibase_timefmt has been removed from PHP 5.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329709 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fd538b7174
commit
24f13612f5
2 changed files with 0 additions and 109 deletions
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ibase-timefmt">
|
||||
<refnamediv>
|
||||
<refname>ibase_timefmt</refname>
|
||||
<refpurpose>Sets the format of timestamp, date and time type columns returned from queries</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>ibase_timefmt</methodname>
|
||||
<methodparam><type>string</type><parameter>format</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>columntype</parameter><initializer>IBASE_TIMESTAMP</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Sets the format of timestamp, date or time type columns returned from
|
||||
queries.
|
||||
</para>
|
||||
<para>
|
||||
You can set defaults for these formats with the PHP configuration
|
||||
directives <literal>ibase.timestampformat</literal>,
|
||||
<literal>ibase.dateformat</literal> and
|
||||
<literal>ibase.timeformat</literal>.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This function has been removed from PHP 5, use
|
||||
<function>ini_set</function> instead.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>format</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Internally, the columns are formatted by c-function strftime(), so
|
||||
refer to its documentation regarding to the format of the string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>columntype</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>columntype</parameter> is one of the constants
|
||||
<constant>IBASE_TIMESTAMP</constant>, <constant>IBASE_DATE</constant>
|
||||
and <constant>IBASE_TIME</constant>. If omitted, defaults to
|
||||
<constant>IBASE_TIMESTAMP</constant> for backwards compatibility.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>ibase_timefmt</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
/* InterBase 6 TIME-type columns will be returned in
|
||||
* the form '05 hours 37 minutes'. */
|
||||
ibase_timefmt("%H hours %M minutes", IBASE_TIME);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</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
|
||||
-->
|
|
@ -51,7 +51,6 @@
|
|||
<function name='ibase_service_attach' from='PHP 5'/>
|
||||
<function name='ibase_service_detach' from='PHP 5'/>
|
||||
<function name='ibase_set_event_handler' from='PHP 5'/>
|
||||
<function name='ibase_timefmt' from='PHP 5'/>
|
||||
<function name='ibase_trans' from='PHP 5'/>
|
||||
<function name='ibase_wait_event' from='PHP 5'/>
|
||||
</versions>
|
||||
|
|
Loading…
Reference in a new issue