cvs: peardoc /en/package/pear pear-info.xml /en/package/pear/pear-info intro.xml /en/package/pear/pear-info/pear-info setProxy.xml
| From: | Davey Shafik | Date: | Sun, 11 May 2003 11:42:28 +0000 |
| Subject: | cvs: peardoc /en/package/pear pear-info.xml /en/package/pear/pear-info intro.xml /en/package/pear/pear-info/pear-info setProxy.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-777@lists.php.net to get a copy of this message | ||
davey Sun May 11 07:42:28 2003 EDT
Added files:
/peardoc/en/package/pear/pear-info/pear-info setProxy.xml
Modified files:
/peardoc/en/package/pear pear-info.xml
/peardoc/en/package/pear/pear-info intro.xml
Log:
Added setProxy method docs for PEAR_Info 1.0.6
Index: peardoc/en/package/pear/pear-info.xml
diff -u peardoc/en/package/pear/pear-info.xml:1.4 peardoc/en/package/pear/pear-info.xml:1.5
--- peardoc/en/package/pear/pear-info.xml:1.4 Sun May 11 07:27:08 2003
+++ peardoc/en/package/pear/pear-info.xml Sun May 11 07:42:28 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<sect1 id="package.pear-info">
<title>PEAR_Info</title>
@@ -8,8 +8,8 @@
&package.pear.pear-info.intro;
&package.pear.pear-info.pear-info;
+ &package.pear.pear-info.pear-info.setProxy;
&package.pear.pear-info.pear-info.show;
-
</sect1>
<!-- Keep this comment at the end of the file
Index: peardoc/en/package/pear/pear-info/intro.xml
diff -u peardoc/en/package/pear/pear-info/intro.xml:1.3
peardoc/en/package/pear/pear-info/intro.xml:1.4
--- peardoc/en/package/pear/pear-info/intro.xml:1.3 Thu May 8 00:04:07 2003
+++ peardoc/en/package/pear/pear-info/intro.xml Sun May 11 07:42:28 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.pear.pear-info.intro">
<refnamediv>
<refname>Introduction</refname>
@@ -11,15 +11,11 @@
PEAR_Info obtains and displays information about your current PEAR
Install.
The PEAR_Info page features an A-Z index for easy searching, aswell
- as anchors for
- each package in the form of pkg_Package_Name (i.e.
- url.tld/pearinfo.php#pkg_PEAR_Info)
- PEAR_Info also features a full 'PEAR Credits' page, with information
- about the authors
- of the packages you currently have installed.
- PEAR_Info will also display any later versions that are available
- from PEAR to help keep you
- up to date.
+ as anchors for each package in the form of pkg_Package_Name (i.e.
+ url.tld/pearinfo.php#pkg_PEAR_Info) PEAR_Info also features a full 'PEAR
+ Credits' page, with information about the authors of the packages you
+ currently have installed. PEAR_Info will also display any later versions
+ that are available from PEAR to help keep you up to date.
</para>
<example id="packages.pear.pear-info.intro.example">
@@ -29,11 +25,30 @@
<?php
require_once 'PEAR/Info.php';
- /* Optional pear_dir variable, allows you to choose where your PEAR
- install is, in case its not found */
+ /*
+ If you need to set a http_proxy value at run-time you can use the
+ following, this must be called BEFORE instantiating the PEAR_Info object
+ */
+
+ PEAR_Info::setProxy('your.proxy.here');
+
+ /*
+ Optional pear_dir variable, allows you to choose where your PEAR
+ install is, in case its not found
+ */
+
$pear_dir = "/path/to/your/pear/files";
+ /*
+ Instantiate PEAR_Info object
+ */
+
$info = new PEAR_Info($php_dir);
+
+ /*
+ Show PEAR_Info output
+ */
+
$info->show();
?>
]]>
Index: peardoc/en/package/pear/pear-info/pear-info/setProxy.xml
+++ peardoc/en/package/pear/pear-info/pear-info/setProxy.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.pear.pear-info.pear-info.show">
<refnamediv>
<refname>PEAR_Info::show</refname>
<refpurpose>Display PEAR_Info</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once "PEAR/Info.php";
</funcsynopsisinfo>
<funcprototype>
<funcdef>void <function>PEAR_Info::setProxy</function></funcdef>
<paramdef></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.pear.pear-info.pear-info.show.desc">
&title.desc;
<para>
Sets http_proxy config setting at runtime
</para>
</refsect1>
<refsect1 id="package.pear.pear-info.pear-info.show.note">
&title.note;
¬e.shouldstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->