cvs: peardoc /en/core/ppm/pear-channelfile fromxmlfile.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 00:46:50 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile fromxmlfile.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6165@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 20:46:50 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile fromxmlfile.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/fromxmlfile.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/fromxmlfile.xml
+++ peardoc/en/core/ppm/pear-channelfile/fromxmlfile.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.fromxmlfile">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::fromXmlFile</function>
</refname>
<refpurpose>
Parse a channel.xml file. Expects the name of a channel xml file as
input.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
bool
<function>PEAR_ChannelFile::fromXmlFile</function>
</funcdef>
<paramdef>
string
<parameter>$descfile</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.fromxmlfile.desc">
&title.desc;
<para>
Parse the contents of a channel.xml and store in the current PEAR_ChannelFile class.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromxmlfile.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$descfile</parameter>
</term>
<listitem>
<para>name of channel xml file</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromxmlfile.returns">
&title.returns;
<para>
<emphasis>returns</emphasis>
success of parsing
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromxmlfile.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromxmlfile.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>