cvs: phpdoc /en/reference/oauth/oauth disabledebug.xml enabledebug.xml fetch.xml

From: Date: Mon, 06 Apr 2009 18:25:58 +0000
Subject: cvs: phpdoc /en/reference/oauth/oauth disabledebug.xml enabledebug.xml fetch.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3660@lists.php.net to get a copy of this message
jawed Mon Apr 6 18:25:58 2009 UTC Added files: /phpdoc/en/reference/oauth/oauth enabledebug.xml disabledebug.xml Modified files: /phpdoc/en/reference/oauth/oauth fetch.xml Log: Updating docs to include new debug functions in pecl/oauth-0.99.3, updating fetch documentation for pending release http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/fetch.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/oauth/oauth/fetch.xml diff -u phpdoc/en/reference/oauth/oauth/fetch.xml:1.3 phpdoc/en/reference/oauth/oauth/fetch.xml:1.4 --- phpdoc/en/reference/oauth/oauth/fetch.xml:1.3 Fri Jan 2 15:39:24 2009 +++ phpdoc/en/reference/oauth/oauth/fetch.xml Mon Apr 6 18:25:57 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry xml:id="oauth.fetch" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -13,9 +13,10 @@ <modifier>public</modifier> <type>bool</type><methodname>OAuth::fetch</methodname> <methodparam><type>string</type><parameter>protected_resource_url</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">extra_parameters</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter role="reference">http_method</parameter></methodparam> </methodsynopsis> <para> - Fetch a resource protected by OAuth. + Fetch a resource. </para> </refsect1> @@ -39,6 +40,46 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>http_method</parameter></term> + <listitem> + <para> + <parameter>http_method</parameter> can be one of the following: + <variablelist> + <varlistentry> + <term><constant>OAUTH_HTTP_METHOD_GET</constant></term> + <listitem> + <simpara> + Set the request method to <literal>GET</literal>. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>OAUTH_HTTP_METHOD_POST</constant></term> + <listitem> + <simpara> + Set the request method to <literal>POST</literal>. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>OAUTH_HTTP_METHOD_PUT</constant></term> + <listitem> + <simpara> + Set the request method to <literal>PUT</literal>. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>OAUTH_HTTP_METHOD_HEAD</constant></term> + <listitem> + <simpara> + Set the request method to <literal>HEAD</literal>, this can be useful for + discovering information prior to the request (if OAuth credentials are + in the Authorization header). + </simpara> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -89,6 +130,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>CVS / 0.99.5</entry> + <entry> + Added an additional parameter to set the HTTP method for the request. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/enabledebug.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/oauth/oauth/enabledebug.xml +++ phpdoc/en/reference/oauth/oauth/enabledebug.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="oauth.enabledebug" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>OAuth::enableDebug</refname> <refpurpose>Turn on verbose debugging</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>OAuth::enableDebug</methodname> <void /> </methodsynopsis> <para> Turns on verbose request information useful for debugging, this is not for production use. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>OAuth::disableDebug</methodname></member> </simplelist> </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/oauth/oauth/disabledebug.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/oauth/oauth/disabledebug.xml +++ phpdoc/en/reference/oauth/oauth/disabledebug.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="oauth.disabledebug" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>OAuth::disableDebug</refname> <refpurpose>Turn off verbose debugging</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>OAuth::disableDebug</methodname> <void /> </methodsynopsis> <para> Turns off verbose request information (off by default). </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>OAuth::enableDebug</methodname></member> </simplelist> </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 (#3660) next »