cvs: peardoc /en/core/ppm/pear-channelfile getfunction.xml

From: Date: Fri, 03 Jun 2005 00:54:04 +0000
Subject: cvs: peardoc /en/core/ppm/pear-channelfile getfunction.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6170@lists.php.net to get a copy of this message
cellog Thu Jun 2 20:54:04 2005 EDT Added files: /peardoc/en/core/ppm/pear-channelfile getfunction.xml Log: add new docs http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/getfunction.xml?r=1.1&p=1 Index: peardoc/en/core/ppm/pear-channelfile/getfunction.xml +++ peardoc/en/core/ppm/pear-channelfile/getfunction.xml <!-- $Revision: 1.1 $ --> <refentry id="core.ppm.pear-channelfile.getfunction"> <refnamediv> <refname> <function>PEAR_ChannelFile::getFunction</function> </refname> <refpurpose>getFunction</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/ChannelFile.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> array <function>PEAR_ChannelFile::getFunction</function> </funcdef> <paramdef> string <parameter>$type</parameter> </paramdef> <paramdef> string <parameter> <optional>$name = &null;</optional> </parameter> </paramdef> <paramdef> string <parameter> <optional>$mirror = &false;</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-channelfile.getfunction.desc"> &title.desc; <para> Retrieve the xml representation of a function. If found, the array is of format: </para> <para> <programlisting role="php"> <![CDATA[ <?php array( '_content' => 'functionname', 'attribs' => array('version' => 'version.number') ); ?> ]]> </programlisting> </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.getfunction.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$type</parameter> </term> <listitem> <para>Protocol type</para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$name</parameter> </term> <listitem> <para> Function name (&null; to return the first protocol of the type requested) </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$mirror</parameter> </term> <listitem> <para>Mirror name, if any</para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.getfunction.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.getfunction.note"> &title.note; &note.notstatic; </refsect1> </refentry>

« previous php.pear.doc (#6170) next »