cvs: peardoc /en/core/ppm/pear-channelfile fromarray.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 00:44:50 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile fromarray.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6164@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 20:44:50 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile fromarray.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/fromarray.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/fromarray.xml
+++ peardoc/en/core/ppm/pear-channelfile/fromarray.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.fromarray">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::fromArray</function>
</refname>
<refpurpose>fromArray</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
<replaceable>
<link linkend="core.ppm.pear-channelfile-summary">
<classname>PEAR_ChannelFile</classname>
</link>
|false
</replaceable>
<function>PEAR_ChannelFile::fromArray</function>
</funcdef>
<paramdef>
array
<parameter>$data</parameter>
</paramdef>
<paramdef>
mixed
<parameter>
<optional>$compatibility = &false;</optional>
</parameter>
</paramdef>
<paramdef>
mixed
<parameter>
<optional>$stackClass = 'PEAR_ErrorStack'</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.fromarray.desc">
&title.desc;
<para>
Use this method with caution. This is intended to allow easy import of
a pre-parsed channel.xml from another PEAR_ChannelFile class. It also makes
possible the registry storage of channel.xml.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromarray.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.array;
<parameter>$data</parameter>
</term>
<listitem>
<para>
The pre-parsed channel data
</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.mixed;
<parameter>$compatibility</parameter>
</term>
<listitem>
<para>
</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.mixed;
<parameter>$stackClass</parameter>
</term>
<listitem>
<para />
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromarray.returns">
&title.returns;
<para>
<emphasis>returns</emphasis>
false if invalid
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromarray.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.fromarray.note">
&title.note;
¬e.shouldstatic;
</refsect1>
</refentry>