cvs: phpdoc-ro /reference/var/functions is-resource.xml
| From: | Simion Onea | Date: | Thu, 15 May 2008 08:25:38 +0000 |
| Subject: | cvs: phpdoc-ro /reference/var/functions is-resource.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-436@lists.php.net to get a copy of this message | ||
simionea Thu May 15 08:25:38 2008 UTC
Modified files:
/phpdoc-ro/reference/var/functions is-resource.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/is-resource.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ro/reference/var/functions/is-resource.xml
diff -u phpdoc-ro/reference/var/functions/is-resource.xml:1.3
phpdoc-ro/reference/var/functions/is-resource.xml:1.4
--- phpdoc-ro/reference/var/functions/is-resource.xml:1.3 Tue Sep 18 14:05:18 2007
+++ phpdoc-ro/reference/var/functions/is-resource.xml Thu May 15 08:25:37 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-resource' in en/ tree in rev 1.19 -->
- <refentry xml:id="function.is-resource" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>is_resource</refname>
- <refpurpose>
- Decide dacã o variabilã este o resursã
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Descriere</title>
- <methodsynopsis>
- <type>bool</type><methodname>is_resource</methodname>
-
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
- </methodsynopsis>
- <para>
- <function>is_resource</function> returneazã &true; dacã
- <parameter>var</parameter> este o resursã, &false; în caz contrar.
- </para>
- <para>
- Consultaþi documentaþia pentru tipul <type>resource</type> pentru detalii.
- </para>
- </refsect1>
- </refentry>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.8 Maintainer: simionea Status: translated -->
+<!-- CREDITS: adiju -->
+<!-- splitted from ./en/functions/var.xml, last change in rev 1.19 -->
+<refentry xml:id="function.is-resource" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>is_resource</refname>
+ <refpurpose>
+ DeterminÄ dacÄ o variabilÄ este o resursÄ
+ </refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>bool</type><methodname>is_resource</methodname>
+
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ DeterminÄ dacÄ variabila datÄ este o resursÄ.
+ </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 o
<type>resource</type>,
+ &false; în caz contrar.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Exemplu <function>is_resource</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+$db_link = @mysql_connect('localhost', 'mysql_user', 'mysql_pass');
+if (!is_resource($db_link)) {
+ die('Can\'t connect : ' . mysql_error());
+}
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><link linkend="language.types.resource">Documentaţia despre
tipul resursÄ</link></member>
+ <member><function>get_resource_type</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: