cvs: peardoc /en/package php.xml /en/package/php php-archive.xml /en/package/php/php-archive intro.xml

From: Date: Tue, 06 Feb 2007 06:01:45 +0000
Subject: cvs: peardoc /en/package php.xml /en/package/php php-archive.xml /en/package/php/php-archive intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9402@lists.php.net to get a copy of this message
cellog Tue Feb 6 06:01:45 2007 UTC Added files: /peardoc/en/package/php php-archive.xml /peardoc/en/package/php/php-archive intro.xml Modified files: /peardoc/en/package php.xml Log: add docs for PHP_Archive # incomplete http://cvs.php.net/viewvc.cgi/peardoc/en/package/php.xml?r1=1.11&r2=1.12&diff_format=u Index: peardoc/en/package/php.xml diff -u peardoc/en/package/php.xml:1.11 peardoc/en/package/php.xml:1.12 --- peardoc/en/package/php.xml:1.11 Fri Jan 12 05:27:27 2007 +++ peardoc/en/package/php.xml Tue Feb 6 06:01:45 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <chapter id="package.php"> @@ -11,6 +11,7 @@ &blankpagehack; + &package.php.php-archive; &package.php.phpdocumentor; &package.php.php-codesniffer; &package.php.php-compat; http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-archive.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-archive.xml +++ peardoc/en/package/php/php-archive.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <sect1 id="package.php.php-archive"> <title>PHP_Archive</title> <para> The PHP_Archive package allows creation of self-contained cross-platform PHP libraries or applications, similar to Java jar files. PHP_Archive </para> &package.php.php-archive.intro; <!-- &package.php.phpdocumentor.tagreference; --> </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/php/php-archive/intro.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-archive/intro.xml +++ peardoc/en/package/php/php-archive/intro.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-archive.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose> The PHP_Archive package allows creation of self-contained cross-platform PHP libraries or applications, similar to Java jar files. </refpurpose> </refnamediv> <refsect1 id="package.php.php-archive.intro.desc"> &title.desc; <para> PHP_Archive provides the <classname>PHP_Archive</classname> class, and the <literal>phar://</literal> stream wrapper. Using PHP_Archive, it is possible to create self-contained cross-platform PHP libraries and applications. The file format and principles are identical to the <literal>Phar</literal> extension, which is documented in the PHP manual. PHP_Archive is used to create <literal>go-pear.phar</literal> and <literal>install-pear-nozlib.phar</literal>, distributed with PHP since PHP version 5.1.0, and used to install the PEAR Installer itself. </para> <para> The <classname>PHP_Archive</classname> class differs in approach from the <classname>Phar</classname> class in that it does not support the <interface>ArrayAccess</interface> interface for accessing internal files, and does not support iteration over contents using foreach(). However, full support for the <literal>phar://</literal> stream wrapper, support of Phar-specific metadata setting and retrieval using <function>PHP_Archive::getPharMetaData</function> and file-specific metadata using <function>PHP_Archive::getFileMetaData</function>, zlib and bzip2 compression of individual files, and archive-wide SHA1/MD5 signature makes PHP_Archive just as powerful as the Phar extension for distributing phars. </para> <para> The advanced Phar creation features of PHP_Archive are not yet documented, but information is available at the <ulink url="http://pear.php.net/package/PHP_Archive/docs/latest/">API documentation</ulink>, and an example usage is in cvs at <ulink url="http://cvs.php.net/viewvc.cgi/pear-core/make-gopear-phar.php">make-gopear-phar.php</ulink>. </para> </refsect1> <refsect1 id="package.php.php-archive.intro.external"> <title>External Documentation</title> <simplelist> <member> <ulink url="&url.php.manual;/phar">Phar extension documentation</ulink> </member> </simplelist> </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 (#9402) next »