cvs: phpdoc /en/reference/http book.xml configuration.xml constants.xml install.xml reference.xml request-options.xml resources.xml setup.xml

From: Date: Sat, 22 Dec 2007 16:56:27 +0000
Subject: cvs: phpdoc /en/reference/http book.xml configuration.xml constants.xml install.xml reference.xml request-options.xml resources.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-732@lists.php.net to get a copy of this message
bjori Sat Dec 22 16:56:27 2007 UTC Modified files: /phpdoc/en/reference/http book.xml setup.xml configuration.xml constants.xml install.xml reference.xml request-options.xml resources.xml Log: MFB: Upgrade to the new-reference-structure - (Created missing setup sections in setup.xml, if any) - Moved the intro to book.xml - Changed the intro ID from <extname>.intro to intro.<extname> - Changed configuration.xml to be an section - Changed constants.xml to be an appendix - Changed install.xml to be an section - Moved the requirements section from install.xml to setup.xml - Moved the requirement note in the classess.http section to setup.xml (and removed the rest of the section, including the ID) - Renamed the functions.http ID to http.functions - Changed request-options.xml to be an appendix - Changed resources.xml to be an section

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/http/book.xml diff -u /dev/null phpdoc/en/reference/http/book.xml:1.2 --- /dev/null Sat Dec 22 16:56:27 2007 +++ phpdoc/en/reference/http/book.xml Sat Dec 22 16:56:27 2007 @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: basic.php --> +<!-- Membership: pecl --> + +<book xml:id="book.http" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>HTTP</title> + + <!-- {{{ preface --> + <preface xml:id="intro.http"> + &reftitle.intro; + <simpara> + This HTTP extension aims to provide a convenient and powerful + set of functionality for one of PHPs major applications. + </simpara> + <simpara> + It eases handling of HTTP URLs, dates, redirects, headers and + messages, provides means for negotiation of clients preferred + language and charset, as well as a convenient way to send any + arbitrary data with caching and resuming capabilities. + </simpara> + <simpara> + It provides powerful request functionality, if built with CURL + support. Parallel requests are available for PHP 5 and greater. + </simpara> + <simpara> + Additionally to the API reference in this manual you can find + information about how to install and configure as well as + which global constants are predefined in the following sections: + </simpara> + </preface> + <!-- }}} --> + + &reference.http.setup; + &reference.http.constants; + &reference.http.request-options; + + &reference.http.HttpDeflateStream; + &reference.http.HttpInflateStream; + &reference.http.HttpMessage; + &reference.http.HttpQueryString; + &reference.http.HttpRequest; + &reference.http.HttpRequestPool; + &reference.http.HttpResponse; + + &reference.http.reference; + +</book> + +<!-- 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 +indent-tabs-mode:nil +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/phpdoc/en/reference/http/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/http/setup.xml diff -u /dev/null phpdoc/en/reference/http/setup.xml:1.2 --- /dev/null Sat Dec 22 16:56:27 2007 +++ phpdoc/en/reference/http/setup.xml Sat Dec 22 16:56:27 2007 @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="http.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="http.requirements"> + &reftitle.required; + <simpara> + The <classname>HttpResponse</classname> class requires at least PHP v5.1. + Any other class is available as of PHP v5.0. + </simpara> + <note> + <simpara> + Be aware though, that some methods are not available with PHP v5.0. + </simpara> + </note> + <section xml:id="http.requirements.windows"> + <title>Installation requirements on Windows</title> + <para> + In order to be able to load this extension on <emphasis>Windows</emphasis>, + you additionally need to load the following PHP extensions: + <link linkend="ref.hash">hash</link>, <link linkend="ref.iconv">iconv</link> + &listendand; <link linkend="ref.spl">SPL</link>. + </para> + </section> + + <section xml:id="http.requirements.nix"> + <title>Installation requirements on other platforms</title> + <para> + The extension must be built with <link xlink:href="&url.curl.lib;">libcurl</link> support + to enable <emphasis>request</emphasis> functionality (<literal>--with-http-curl-requests</literal>). + A library version equal or greater to <emphasis>v7.12.3</emphasis> is required. + </para> + <para> + To enable support for sending and receiving <emphasis>compressed</emphasis> + responses, the extension must be built with <link xlink:href="&url.zlib;">zlib</link> support + (<literal>--with-http-zlib-compression</literal>). + A library version equal or greater than <emphasis>v1.2.2</emphasis> is required. + </para> + <para> + <emphasis>Content type quessing</emphasis> can be enabled by + building this extension with <link xlink:href="&url.libmagic;">libmagic</link> support + (<literal>--with-http-magic-mime</literal>). + </para> + </section> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.http.install; + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.http.configuration; + <!-- }}} --> + + <!-- {{{ Resources --> + &reference.http.resources; + <!-- }}} --> + +</chapter> + +<!-- 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 +indent-tabs-mode:nil +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/phpdoc/en/reference/http/configuration.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/http/configuration.xml diff -u phpdoc/en/reference/http/configuration.xml:1.6 phpdoc/en/reference/http/configuration.xml:1.7 --- phpdoc/en/reference/http/configuration.xml:1.6 Wed Jun 20 22:24:33 2007 +++ phpdoc/en/reference/http/configuration.xml Sat Dec 22 16:56:27 2007 @@ -1,11 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<refentry xml:id="http.configuration" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>Configuration</refname> - <refpurpose>http module configuration directives</refpurpose> - </refnamediv> - <refsect1> +<!-- $Revision: 1.7 $ --> +<section xml:id="http.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; <para> @@ -230,8 +225,7 @@ </tgroup> </table> </para> -</refsect1> -</refentry> +</section> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/constants.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/http/constants.xml diff -u phpdoc/en/reference/http/constants.xml:1.7 phpdoc/en/reference/http/constants.xml:1.8 --- phpdoc/en/reference/http/constants.xml:1.7 Wed Jun 20 22:24:33 2007 +++ phpdoc/en/reference/http/constants.xml Sat Dec 22 16:56:27 2007 @@ -1,11 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<refentry xml:id="http.constants" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>Constants</refname> - <refpurpose>predefined http module constants</refpurpose> - </refnamediv> - <refsect1> +<!-- $Revision: 1.8 $ --> +<appendix xml:id="http.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist xml:id="http.constants.support"> @@ -1277,8 +1272,7 @@ </listitem> </varlistentry> </variablelist> - </refsect1> -</refentry> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/install.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/http/install.xml diff -u phpdoc/en/reference/http/install.xml:1.6 phpdoc/en/reference/http/install.xml:1.7 --- phpdoc/en/reference/http/install.xml:1.6 Wed Jun 20 22:24:33 2007 +++ phpdoc/en/reference/http/install.xml Sat Dec 22 16:56:27 2007 @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<refentry xml:id="http.install" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>Installation</refname> - <refpurpose>Installing the HTTP extension</refpurpose> - </refnamediv> +<!-- $Revision: 1.7 $ --> +<section xml:id="http.install" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Installation/Configuration</title> + <titleabbrev>Installing the HTTP extension</titleabbrev> - <refsect1 xml:id="http.install.pecl"> + <section xml:id="http.install.pecl"> &reftitle.install; <para> &pecl.moved; @@ -21,35 +19,26 @@ <para> &pecl.windows.download; </para> - </refsect1> + </section> +</section> - <refsect1 xml:id="http.requirements.windows"> - <title>Installation requirements on Windows</title> - <para> - In order to be able to load this extension on <emphasis>Windows</emphasis>, - you additionally need to load the following PHP extensions: - <link linkend="ref.hash">hash</link>, <link linkend="ref.iconv">iconv</link> - &listendand; <link linkend="ref.spl">SPL</link>. - </para> - </refsect1> - - <refsect1 xml:id="http.requirements"> - <title>Installation requirements on other platforms</title> - <para> - The extension must be built with <link xlink:href="&url.curl.lib;">libcurl</link> support - to enable <emphasis>request</emphasis> functionality (<literal>--with-http-curl-requests</literal>). - A library version equal or greater to <emphasis>v7.12.3</emphasis> is required. - </para> - <para> - To enable support for sending and receiving <emphasis>compressed</emphasis> - responses, the extension must be built with <link xlink:href="&url.zlib;">zlib</link> support - (<literal>--with-http-zlib-compression</literal>). - A library version equal or greater than <emphasis>v1.2.2</emphasis> is required. - </para> - <para> - <emphasis>Content type quessing</emphasis> can be enabled by - building this extension with <link xlink:href="&url.libmagic;">libmagic</link> support - (<literal>--with-http-magic-mime</literal>). - </para> - </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 +indent-tabs-mode:nil +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/phpdoc/en/reference/http/reference.xml?r1=1.25&r2=1.26&diff_format=u Index: phpdoc/en/reference/http/reference.xml diff -u phpdoc/en/reference/http/reference.xml:1.25 phpdoc/en/reference/http/reference.xml:1.26 --- phpdoc/en/reference/http/reference.xml:1.25 Mon Dec 10 17:06:04 2007 +++ phpdoc/en/reference/http/reference.xml Sat Dec 22 16:56:27 2007 @@ -1,79 +1,21 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> -<!-- Purpose: basic.php --> -<!-- Membership: pecl --> - -<reference xml:id="ref.http" xmlns="http://docbook.org/ns/docbook"> - <title>HTTP</title> - <titleabbrev>http</titleabbrev> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.26 $ --> +<reference xml:id="ref.http"> + <title>HTTP functions</title> <partintro> - <section xml:id="http.intro"> - &reftitle.intro; - <simpara> - This HTTP extension aims to provide a convenient and powerful - set of functionality for one of PHPs major applications. - </simpara> - <simpara> - It eases handling of HTTP URLs, dates, redirects, headers and - messages, provides means for negotiation of clients preferred - language and charset, as well as a convenient way to send any - arbitrary data with caching and resuming capabilities. - </simpara> - <simpara> - It provides powerful request functionality, if built with CURL - support. Parallel requests are available for PHP 5 and greater. - </simpara> - <simpara> - Additionally to the API reference in this manual you can find - information about how to install and configure as well as - which global constants are predefined in the following sections: - </simpara> - <simplelist> - <member><link linkend="http.install">Installation</link></member> - <member><link linkend="http.configuration">Configuration</link></member> - <member><link linkend="http.constants">Global Constants</link></member> - <member><link linkend="http.resources">Resource Types</link></member> - </simplelist> - </section> - - <section xml:id="classess.http"> - <title>Classes</title> - &extension.classes; - <simpara> - The <classname>HttpResponse</classname> class requires at least PHP v5.1. - Any other class is available as of PHP v5.0. - </simpara> - <note> - <simpara> - Be aware though, that some methods are not available with PHP v5.0. - </simpara> - </note> - <simplelist> - <member><link linkend="http.HttpMessage"><classname>HttpMessage</classname></link></member> - <member><link linkend="http.HttpQueryString"><classname>HttpQueryString</classname></link></member> - <member><link linkend="http.HttpDeflateStream"><classname>HttpDeflateStream</classname></link></member> - <member><link linkend="http.HttpInflateStream"><classname>HttpInflateStream</classname></link></member> - <member><link linkend="http.HttpRequest"><classname>HttpRequest</classname></link></member> - <member><link linkend="http.HttpRequestPool"><classname>HttpRequestPool</classname></link></member> - <member><link linkend="http.HttpResponse"><classname>HttpResponse</classname></link></member> - </simplelist> - </section> + <simpara> + Built-in HTTP related functions previously listed on this page can be found in the + <link linkend="ref.network">networking</link> category. + </simpara> + <simpara> + The following functions do not need the HTTP module to be present: + <function>header</function>, <function>headers_list</function>, <function>headers_sent</function>, + <function>setcookie</function> &listendand; <function>setrawcookie</function>. + </simpara> - <section xml:id="functions.http"> - <title>Functions</title> - <section> - <title>Built-in Functions</title> - <simpara> - Built-in HTTP related functions previously listed on this page can be found in the - <link linkend="ref.network">networking</link> category. - </simpara> - <simpara> - The following functions do not need the HTTP module to be present: - <function>header</function>, <function>headers_list</function>, <function>headers_sent</function>, - <function>setcookie</function> &listendand; <function>setrawcookie</function>. - </simpara> - </section> + <section xml:id="http.functions"> + <title>Function groups</title> <section> <title>Caching</title> <simplelist> @@ -179,20 +121,16 @@ </partintro> - &reference.http.install; - &reference.http.configuration; - &reference.http.resources; - &reference.http.constants; - &reference.http.request-options; - &reference.http.HttpMessage; - &reference.http.HttpQueryString; - &reference.http.HttpDeflateStream; - &reference.http.HttpInflateStream; - &reference.http.HttpRequest; - &reference.http.HttpRequestPool; - &reference.http.HttpResponse; - - &reference.http.entities.functions; + &reference.http.functions.entities.caching; + &reference.http.functions.entities.encodings; + &reference.http.functions.entities.misc; + &reference.http.functions.entities.negotiation; + &reference.http.functions.entities.outputhandlers; + &reference.http.functions.entities.parsers; + &reference.http.functions.entities.persistenthandles; + &reference.http.functions.entities.requests; + &reference.http.functions.entities.responses; + &reference.http.functions.entities.urls; </reference> @@ -216,3 +154,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/request-options.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/http/request-options.xml diff -u phpdoc/en/reference/http/request-options.xml:1.3 phpdoc/en/reference/http/request-options.xml:1.4 --- phpdoc/en/reference/http/request-options.xml:1.3 Wed Jun 20 22:24:33 2007 +++ phpdoc/en/reference/http/request-options.xml Sat Dec 22 16:56:27 2007 @@ -1,12 +1,8 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<refentry xml:id="http.request.options" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>Request Options</refname> - <refpurpose>options usable with the HttpRequest class and request functions</refpurpose> - </refnamediv> - <refsect1> - <title>Overview</title> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.4 $ --> +<appendix xml:id="http.request.options" xmlns="http://docbook.org/ns/docbook"> + <title>Options usable with the HttpRequest class and request functions</title> + <titleabbrev>Request Options</titleabbrev> <variablelist xml:id="http.request.options.timeouts"> <title>Options related to time outs</title> <varlistentry xml:id="http.request.option.timeout"> @@ -446,8 +442,7 @@ </listitem> </varlistentry> </variablelist> - </refsect1> -</refentry> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/resources.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/http/resources.xml diff -u phpdoc/en/reference/http/resources.xml:1.3 phpdoc/en/reference/http/resources.xml:1.4 --- phpdoc/en/reference/http/resources.xml:1.3 Wed Jun 20 22:24:33 2007 +++ phpdoc/en/reference/http/resources.xml Sat Dec 22 16:56:27 2007 @@ -1,18 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<refentry xml:id="http.resources" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>Resources</refname> - <refpurpose>Resources created by the HTTP extension</refpurpose> - </refnamediv> +<!-- $Revision: 1.4 $ --> +<section xml:id="http.resources" xmlns="http://docbook.org/ns/docbook"> + &reftitle.resources; + <para> + This extension defines a stream resource returned by + <function>http_get_request_body_stream</function> and (thereafter) + <function>HttpResponse::getStream</function>. + </para> +</section> - <refsect1> - &reftitle.resources; - <para> - This extension defines a stream resource returned by - <function>http_get_request_body_stream</function> and (thereafter) - <function>HttpResponse::getStream</function>. - </para> - </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 +indent-tabs-mode:nil +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.doc.cvs (#732) next »