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

From: Date: Fri, 03 Jun 2005 01:05:17 +0000
Subject: cvs: peardoc /en/core/ppm/pear-channelfile getport.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6176@lists.php.net to get a copy of this message
cellog Thu Jun 2 21:05:17 2005 EDT Added files: /peardoc/en/core/ppm/pear-channelfile getport.xml Log: add new docs http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/getport.xml?r=1.1&p=1 Index: peardoc/en/core/ppm/pear-channelfile/getport.xml +++ peardoc/en/core/ppm/pear-channelfile/getport.xml <!-- $Revision: 1.1 $ --> <refentry id="core.ppm.pear-channelfile.getport"> <refnamediv> <refname> <function>PEAR_ChannelFile::getPort</function> </refname> <refpurpose>retrieve the socket port used to connect to the server</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/ChannelFile.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> int|80 <function>PEAR_ChannelFile::getPort</function> </funcdef> <paramdef> mixed <parameter> <optional>$mirror = &false;</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-channelfile.getport.desc"> &title.desc; <para> web services are served through http servers, and so most servers use port 80. This function can be used to determine if a non-standard port is in use at a channel. </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.getport.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <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.getport.returns"> &title.returns; <para> <emphasis>returns</emphasis> port number to connect to </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.getport.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.getport.note"> &title.note; &note.notstatic; </refsect1> </refentry>

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