jsgoupil                Tue Jun  7 19:37:41 2005 EDT

  Modified files:              
    /phpdoc/en/reference/var/functions  is-resource.xml 
  Log:
  fix whitespaces + add link to a member in See Also
  
http://cvs.php.net/diff.php/phpdoc/en/reference/var/functions/is-resource.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/var/functions/is-resource.xml
diff -u phpdoc/en/reference/var/functions/is-resource.xml:1.5 
phpdoc/en/reference/var/functions/is-resource.xml:1.6
--- phpdoc/en/reference/var/functions/is-resource.xml:1.5       Wed Apr  6 
11:26:37 2005
+++ phpdoc/en/reference/var/functions/is-resource.xml   Tue Jun  7 19:37:40 2005
@@ -1,51 +1,55 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 -->
-  <refentry id="function.is-resource">
-   <refnamediv>
-    <refname>is_resource</refname>
-    <refpurpose>
-     Finds whether a variable is a resource
-    </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>
-     Finds whether the given variable is a resource.
-    </para>
-   </refsect1>
-   <refsect1 role="parameters">
-    &reftitle.parameters;
-    <para>
-     <variablelist>
-      <varlistentry>
-       <term><parameter>var</parameter></term>
-       <listitem>
-        <para>
-         The variable being evaluated.
-        </para>
-       </listitem>
-      </varlistentry>
-     </variablelist>
-    </para>
-   </refsect1>
-   <refsect1 role="returnvalues">
-    &reftitle.returnvalues;
-    <para>
-     Returns &true; if <parameter>var</parameter> is a <type>resource</type>,
-     &false; otherwise.
-    </para>
-   </refsect1>
-   <refsect1 role="examples">
-    &reftitle.examples;
-    <para>
-     <example>
-      <title>using <function>is_resource</function></title>
-      <programlisting role="php">
+<refentry id="function.is-resource">
+ <refnamediv>
+  <refname>is_resource</refname>
+  <refpurpose>
+   Finds whether a variable is a resource
+  </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>
+   Finds whether the given variable is a resource.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>var</parameter></term>
+     <listitem>
+      <para>
+       The variable being evaluated.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Returns &true; if <parameter>var</parameter> is a <type>resource</type>,
+   &false; otherwise.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>is_resource</function> example</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 
@@ -56,20 +60,21 @@
 
 ?>
 ]]>
-      </programlisting>
-     </example>
-    </para>
-   </refsect1>
-   <refsect1 role="seealso">
-    &reftitle.seealso;
-    <para>
-     <simplelist>
-      <member>The <type>resource</type>-type documentation</member>
-      <member><function>get_resource_type</function></member>
-     </simplelist>
-    </para>  
-   </refsect1>
-  </refentry>
+    </programlisting>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><link linkend="language.types.resource">Thm resource-type 
documentation</link></member>
+    <member><function>get_resource_type</function></member>
+   </simplelist>
+  </para>  
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:

Reply via email to