cvs: peardoc /en/package pear.xml /en/package/pear pear-size.xml /en/package/pear/pear-size intro.xml reusing.xml
| From: | Ken Guest | Date: | Thu, 17 Apr 2008 23:04:29 +0000 |
| Subject: | cvs: peardoc /en/package pear.xml /en/package/pear pear-size.xml /en/package/pear/pear-size intro.xml reusing.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10692@lists.php.net to get a copy of this message | ||
kguest Thu Apr 17 23:04:29 2008 UTC
Added files:
/peardoc/en/package/pear pear-size.xml
/peardoc/en/package/pear/pear-size intro.xml reusing.xml
Modified files:
/peardoc/en/package pear.xml
Log:
Bug #13709 Some form of end-user documentation is required.
http://cvs.php.net/viewvc.cgi/peardoc/en/package/pear.xml?r1=1.9&r2=1.10&diff_format=u
Index: peardoc/en/package/pear.xml
diff -u peardoc/en/package/pear.xml:1.9 peardoc/en/package/pear.xml:1.10
--- peardoc/en/package/pear.xml:1.9 Sun Dec 10 00:26:43 2006
+++ peardoc/en/package/pear.xml Thu Apr 17 23:04:28 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<chapter id="package.pear">
<title>PEAR</title>
@@ -13,6 +13,7 @@
&package.pear.pear-info;
&package.pear.pear-packagefilemanager;
&package.pear.pear-packageupdate;
+ &package.pear.pear-size;
</chapter>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/pear/pear-size.xml?view=markup&rev=1.1
Index: peardoc/en/package/pear/pear-size.xml
+++ peardoc/en/package/pear/pear-size.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<sect1 id="package.pear.size">
<title>PEAR_Size</title>
<para>
The pearsize script was born of a need to determine if there were any
large pear packages installed that could be removed to free up space;
it is analagous to the unix command df - this tool lists how much
filespace each installed package consumes, also a subset of packages
can be specified as can channels.
</para>
<para>
That script has evolved into a reusable set of classes that can be
used from your own code and can render its report into HTML, XML, CSV
and plain text formats. This is extensible so if required you could
generate PDFs and possibly even charts of the data that is generated.
</para>
&package.pear.size.intro;
&package.pear.size.reusing;
</sect1>
<!-- 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
-->
http://cvs.php.net/viewvc.cgi/peardoc/en/package/pear/pear-size/intro.xml?view=markup&rev=1.1
Index: peardoc/en/package/pear/pear-size/intro.xml
+++ peardoc/en/package/pear/pear-size/intro.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<refentry id="package.pear.size.intro">
<refnamediv>
<refname>Introduction</refname>
<refpurpose>About PEAR_Size</refpurpose>
</refnamediv>
<refsect1>
<title>About PEAR_Size</title>
<para>
<classname>PEAR_Size</classname> started as a php script that was born
of a need to determine if there were any large pear packages installed
that could be removed to free up space; it is analagous to the unix
command df - this tool lists how much filespace each installed package
consumes; also a subset of packages can be specified as can channels.
</para>
<para>
That script has evolved into a reusable set of classes that can be
used from your own code and can render its report into HTML, XML, CSV
and plain text formats. This is extensible so if required you could
generate PDFs and possibly even charts of the data that is generated.
</para>
</refsect1>
</refentry>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/pear/pear-size/reusing.xml?view=markup&rev=1.1
Index: peardoc/en/package/pear/pear-size/reusing.xml
+++ peardoc/en/package/pear/pear-size/reusing.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<refentry id="package.pear.size.reusing">
<refnamediv>
<refname>Re-using PEAR_Size</refname>
<refpurpose>Embedding it in your own application</refpurpose>
</refnamediv>
<refsect1>
<title>Re-using PEAR_Size</title>
<para>
PEAR_Size consists of several core classes plus some ancillary ones.
Most important is the <classname>PEAR_Size</classname> class itself which performs
the
data-gathering process and then initiates the generation of the output
report (using the <function>analyse</function> and
<function>generateReport</function> methods respectively). The format
of the report is set using the <function>setOutputDriver</function>
method.
</para>
<para>
If writing a command-line script that will utilise the power of PEAR_Size it
is best to use the <classname>PEAR_Size_CLI</classname> class and
<function>run</function> for parsing the details and options set at the
command prompt.
</para>
</refsect1>
</refentry>