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

From: Date: Fri, 03 Jun 2005 01:39:01 +0000
Subject: cvs: peardoc /en/core/ppm/pear-channelfile setdefaultpearprotocols.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6190@lists.php.net to get a copy of this message
cellog Thu Jun 2 21:39:01 2005 EDT Added files: /peardoc/en/core/ppm/pear-channelfile setdefaultpearprotocols.xml Log: add new docs http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/setdefaultpearprotocols.xml?r=1.1&p=1 Index: peardoc/en/core/ppm/pear-channelfile/setdefaultpearprotocols.xml +++ peardoc/en/core/ppm/pear-channelfile/setdefaultpearprotocols.xml <!-- $Revision: 1.1 $ --> <refentry id="core.ppm.pear-channelfile.setdefaultpearprotocols"> <refnamediv> <refname> <function>PEAR_ChannelFile::setDefaultPEARProtocols</function> </refname> <refpurpose>Set a channel&apos;s protocols to the protocols supported by pearweb</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/ChannelFile.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> void <function>PEAR_ChannelFile::setDefaultPEARProtocols</function> </funcdef> <paramdef> string <parameter> <optional>$version = '1.0'</optional> </parameter> </paramdef> <paramdef> string|false <parameter> <optional>$mirror = &false;</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-channelfile.setdefaultpearprotocols.desc"> &title.desc; <para> This method sets up a channel's <literal>xmlrpc</literal> protocols to match that of pearweb (pear.php.net). Note that it does not configure REST resources, that must be done manually through <link linkend="core.ppm.pear-channelfile.setbaseurl"><function>setBaseURL</function></link>. </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setdefaultpearprotocols.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$version</parameter> </term> <listitem> <para> version of pearweb protocols to use. </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string;|&false; <parameter>$mirror</parameter> </term> <listitem> <para> Mirror name or false for primary server. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setdefaultpearprotocols.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setdefaultpearprotocols.note"> &title.note; &note.notstatic; </refsect1> </refentry>

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