cvs: peardoc /en/package/pear/pear-info intro.xml

From: Date: Thu, 08 May 2003 02:19:56 +0000
Subject: cvs: peardoc /en/package/pear/pear-info intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-748@lists.php.net to get a copy of this message
davey Wed May 7 22:19:56 2003 EDT Modified files: /peardoc/en/package/pear/pear-info intro.xml Log: added require_once to example. Index: peardoc/en/package/pear/pear-info/intro.xml diff -u peardoc/en/package/pear/pear-info/intro.xml:1.1 peardoc/en/package/pear/pear-info/intro.xml:1.2 --- peardoc/en/package/pear/pear-info/intro.xml:1.1 Fri Apr 25 18:51:16 2003 +++ peardoc/en/package/pear/pear-info/intro.xml Wed May 7 22:19:55 2003 @@ -1,58 +1,59 @@ -<!-- $Revision: 1.1 $ --> -<refentry id="package.pear.pear-info.intro"> - <refnamediv> - <refname>Introduction</refname> - <refpurpose>Introduction to PEAR_Info</refpurpose> - </refnamediv> - <refsect1 id="package.pear.pear-info.intro.refsect1"> - <title>Introduction to PEAR_Info</title> - - <para> - 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. - </para> - - <example id="packages.pear.pear-info.intro.example"> - <title>Using PEAR_Info</title> - - <programlisting role="php"> - <![CDATA[ -<?php - // 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"; - - $info = new PEAR_Info($php_dir); - - $info->show(); -?> - ]]> - </programlisting> - </example> - </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 ---> - +<!-- $Revision: 1.2 $ --> +<refentry id="package.pear.pear-info.intro"> + <refnamediv> + <refname>Introduction</refname> + <refpurpose>Introduction to PEAR_Info</refpurpose> + </refnamediv> + <refsect1 id="package.pear.pear-info.intro.refsect1"> + <title>Introduction to PEAR_Info</title> + + <para> + 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. + </para> + + <example id="packages.pear.pear-info.intro.example"> + <title>Using PEAR_Info</title> + + <programlisting role="php"> + <![CDATA[ +<?php + require_once 'PEAR/Info.php'; + // 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"; + + $info = new PEAR_Info($php_dir); + + $info->show(); +?> + ]]> + </programlisting> + </example> + </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 +--> +

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