cvs: phpdoc-ro /reference/datetime/functions gettimeofday.xml
| From: | Simion Onea | Date: | Sat, 24 May 2008 08:46:43 +0000 |
| Subject: | cvs: phpdoc-ro /reference/datetime/functions gettimeofday.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-447@lists.php.net to get a copy of this message | ||
simionea Sat May 24 08:46:43 2008 UTC
Modified files:
/phpdoc-ro/reference/datetime/functions gettimeofday.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/datetime/functions/gettimeofday.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ro/reference/datetime/functions/gettimeofday.xml
diff -u phpdoc-ro/reference/datetime/functions/gettimeofday.xml:1.3
phpdoc-ro/reference/datetime/functions/gettimeofday.xml:1.4
--- phpdoc-ro/reference/datetime/functions/gettimeofday.xml:1.3 Tue Sep 18 13:46:29 2007
+++ phpdoc-ro/reference/datetime/functions/gettimeofday.xml Sat May 24 08:46:43 2008
@@ -1,45 +1,131 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated -->
-<!-- splitted from ./ro/functions/datetime.xml, last change in rev 1.1 -->
-<!-- last change to 'gettimeofday' in en/ tree in rev 1.2 -->
- <refentry xml:id="function.gettimeofday" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>gettimeofday</refname>
- <refpurpose>Citeºte timpul curent</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Descriere</title>
- <methodsynopsis>
- <type>array</type><methodname>gettimeofday</methodname>
- <void/>
- </methodsynopsis>
- <para>
- Aceasta este o interfaþã pentru gettimeofday(2). Returneazã un tablou asociativ conþinând
data returnatã de un apel sistem.
- <itemizedlist>
- <listitem>
- <simpara>
- "sec" - secunde
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- "usec" - microsecunde
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- "minuteswest" - minute la vest de Greenwich
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- "dsttime" - tipul corecþiei dst
- </simpara>
- </listitem>
- </itemizedlist>
- </para>
- </refsect1>
- </refentry>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.9 Maintainer: simionea Status: translated -->
+<!-- CREDITS: adiju -->
+<refentry xml:id="function.gettimeofday" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>gettimeofday</refname>
+ <refpurpose>Obţine timpul curent</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>mixed</type><methodname>gettimeofday</methodname>
+ <methodparam
choice="opt"><type>bool</type><parameter>return_float</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Aceasta este o interfaÅ£Ä pentru gettimeofday(2). Ea întoarce un masiv
+ asociativ ce conţine datele întoarse în rezultatul apelului funcţiei
+ de sistem.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>return_float</parameter></term>
+ <listitem>
+ <para>
+ Când este stabilit în &true;, este întors un float în locul unui masiv.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Implicit este întors un <type>array</type>. DacÄ
<parameter>return_float</parameter>
+ este stabilit, este întors un <type>float</type>.
+ </para>
+ <para>
+ Cheile masivului:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ "sec" - secunde începând cu Epoca Unix
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ "usec" - microsecunde
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ "minuteswest" - minute de la Vest de Greenwich
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ "dsttime" - tipul ajustÄrii la timpul de varÄ
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.1.0</entry>
+ <entry>
+ A fost adÄugat parametrul <parameter>return_float</parameter>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Exemplu <function>gettimeofday</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+print_r(gettimeofday());
+
+echo gettimeofday(true);
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+Array
+(
+ [sec] => 1073504408
+ [usec] => 238215
+ [minuteswest] => 0
+ [dsttime] => 1
+)
+
+1073504408.23910
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: