cvs: phpdoc-ro /reference/var/functions is-array.xml
| From: | Simion Onea | Date: | Wed, 14 May 2008 16:49:20 +0000 |
| Subject: | cvs: phpdoc-ro /reference/var/functions is-array.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-429@lists.php.net to get a copy of this message | ||
simionea Wed May 14 16:49:20 2008 UTC
Modified files:
/phpdoc-ro/reference/var/functions is-array.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/is-array.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ro/reference/var/functions/is-array.xml
diff -u phpdoc-ro/reference/var/functions/is-array.xml:1.3
phpdoc-ro/reference/var/functions/is-array.xml:1.4
--- phpdoc-ro/reference/var/functions/is-array.xml:1.3 Tue Sep 18 14:05:18 2007
+++ phpdoc-ro/reference/var/functions/is-array.xml Wed May 14 16:49:20 2008
@@ -1,29 +1,82 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated -->
-<!-- splitted from ./ro/functions/var.xml, last change in rev 1.1 -->
-<!-- last change to 'is-array' in en/ tree in rev 1.2 -->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.9 Maintainer: simionea Status: translated -->
+<!-- CREDITS: adiju -->
<refentry xml:id="function.is-array" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>is_array</refname>
- <refpurpose>Decide dacã o variabilã este un tablou</refpurpose>
+ <refpurpose>DeterminÄ dacÄ o variabilÄ este un array</refpurpose>
</refnamediv>
- <refsect1>
- <title>Descriere</title>
+ <refsect1 role="description">
+ &reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>is_array</methodname>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
</methodsynopsis>
<para>
- Returneazã &true; dacã <parameter>var</parameter> este de tip
<type>array</type>,
- &false; în caz contrar.
+ DeterminÄ dacÄ variabila datÄ este un array.
</para>
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>var</parameter></term>
+ <listitem>
+ <para>
+ Variabila ce este evaluatÄ.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Ãntoarce &true; dacÄ <parameter>var</parameter> este un
<type>array</type>,
+ &false; în caz contrar.
+ </para>
+ </refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>VerificÄ dacÄ variabla este un array</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$yes = array('this', 'is', 'an array');
+
+echo is_array($yes) ? 'Array' : 'not an Array';
+echo "\n";
+
+$no = 'this is a string';
+
+echo is_array($no) ? 'Array' : 'not an Array';
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+Array
+not an Array
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
<para>
- Mai consultaþi
- <function>is_float</function>,
- <function>is_int</function>,
- <function>is_integer</function>,
- <function>is_string</function>, ºi
- <function>is_object</function>.
+ <simplelist>
+ <member><function>is_float</function></member>
+ <member><function>is_int</function></member>
+ <member><function>is_string</function></member>
+ <member><function>is_object</function></member>
+ </simplelist>
</para>
</refsect1>
</refentry>