jsgoupil Tue Jun 7 19:54:13 2005 EDT
Modified files:
/phpdoc/en/reference/var/functions get-resource-type.xml
Log:
fix whitespaces
http://cvs.php.net/diff.php/phpdoc/en/reference/var/functions/get-resource-type.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/var/functions/get-resource-type.xml
diff -u phpdoc/en/reference/var/functions/get-resource-type.xml:1.7
phpdoc/en/reference/var/functions/get-resource-type.xml:1.8
--- phpdoc/en/reference/var/functions/get-resource-type.xml:1.7 Wed Apr 6
11:26:37 2005
+++ phpdoc/en/reference/var/functions/get-resource-type.xml Tue Jun 7
19:54:12 2005
@@ -1,57 +1,61 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.75 -->
- <refentry id="function.get-resource-type">
- <refnamediv>
- <refname>get_resource_type</refname>
- <refpurpose>
- Returns the resource type
- </refpurpose>
- </refnamediv>
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <type>string</type><methodname>get_resource_type</methodname>
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
- </methodsynopsis>
- <para>
- This function gets the type of the given resource.
- </para>
- </refsect1>
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>handle</parameter></term>
- <listitem>
- <para>
- The evaluated resource handle.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- If the given <parameter>handle</parameter> is a resource, this function
- will return a string representing its type. If the type is not identified
- by this function, the return value will be the string
- <literal>Unknown</literal>.
- </para>
- <para>
- This function will return &false; and generate an error if
- <parameter>handle</parameter> is not a <type>resource</type>.
- </para>
- </refsect1>
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title><function>get_resource_type</function> example</title>
- <programlisting role="php">
+<refentry id="function.get-resource-type">
+ <refnamediv>
+ <refname>get_resource_type</refname>
+ <refpurpose>
+ Returns the resource type
+ </refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>get_resource_type</methodname>
+
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ This function gets the type of the given resource.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>handle</parameter></term>
+ <listitem>
+ <para>
+ The evaluated resource handle.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ If the given <parameter>handle</parameter> is a resource, this function
+ will return a string representing its type. If the type is not identified
+ by this function, the return value will be the string
+ <literal>Unknown</literal>.
+ </para>
+ <para>
+ This function will return &false; and generate an error if
+ <parameter>handle</parameter> is not a <type>resource</type>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>get_resource_type</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
// prints: mysql link
@@ -67,11 +71,11 @@
echo get_resource_type($doc->doc) . "\n";
?>
]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: