cvs: phpdoc-ro /reference/var/functions is-bool.xml
| From: | Simion Onea | Date: | Wed, 14 May 2008 16:54:35 +0000 |
| Subject: | cvs: phpdoc-ro /reference/var/functions is-bool.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-430@lists.php.net to get a copy of this message | ||
simionea Wed May 14 16:54:35 2008 UTC
Modified files:
/phpdoc-ro/reference/var/functions is-bool.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/is-bool.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ro/reference/var/functions/is-bool.xml
diff -u phpdoc-ro/reference/var/functions/is-bool.xml:1.3
phpdoc-ro/reference/var/functions/is-bool.xml:1.4
--- phpdoc-ro/reference/var/functions/is-bool.xml:1.3 Tue Sep 18 14:05:18 2007
+++ phpdoc-ro/reference/var/functions/is-bool.xml Wed May 14 16:54:35 2008
@@ -1,35 +1,85 @@
-<?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-bool' in en/ tree in rev 1.19 -->
- <refentry xml:id="function.is-bool" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>is_bool</refname>
- <refpurpose>
- Decide dacã o variabilã este de tip boolean
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Descriere</title>
- <methodsynopsis>
- <type>bool</type><methodname>is_bool</methodname>
-
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returneazã &true; dacã <parameter>var</parameter> este de tip
- <type>boolean</type>, &false; în caz contrar.
- </para>
- <para>
- Mai consultaþi
- <function>is_array</function>,
- <function>is_float</function>,
- <function>is_int</function>,
- <function>is_integer</function>,
- <function>is_string</function>, ºi
- <function>is_object</function>.
- </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.is-bool" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>is_bool</refname>
+ <refpurpose>
+ DeterminÄ dacÄ o variablÄ este un boolean
+ </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>bool</type><methodname>is_bool</methodname>
+
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ DeterminÄ dacÄ variabila datÄ este un boolean.
+ </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>boolean</type>,
+ &false; în caz contrar.
+ </para>
+ </refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Exemple <function>is_bool</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$a = false;
+$b = 0;
+
+// Deoarece $a este un boolean, aceasta este adevÄrat
+if (is_bool($a)) {
+ echo "Da, aceasta este un boolean";
+}
+
+// Deoarece $b nu este un boolean, aceasta nu este adevÄrat
+if (is_bool($b)) {
+ echo "Da, aceasta este un boolean";
+}
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <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>
+ <member><function>is_array</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: