cvs: phpdoc /en/reference/soap constants.xml ini.xml
| From: | Steph Fox | Date: | Thu, 10 Jan 2008 17:03:50 +0000 |
| Subject: | cvs: phpdoc /en/reference/soap constants.xml ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1020@lists.php.net to get a copy of this message | ||
sfox Thu Jan 10 17:03:50 2008 UTC
Modified files:
/phpdoc/en/reference/soap constants.xml ini.xml
Log:
Document soap.wsdl_cache and associated constants
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/constants.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/soap/constants.xml
diff -u phpdoc/en/reference/soap/constants.xml:1.6 phpdoc/en/reference/soap/constants.xml:1.7
--- phpdoc/en/reference/soap/constants.xml:1.6 Fri Dec 21 19:55:11 2007
+++ phpdoc/en/reference/soap/constants.xml Thu Jan 10 17:03:50 2008
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<appendix xml:id="soap.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
@@ -753,6 +753,52 @@
</simpara>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <constant>WSDL_CACHE_NONE</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Switches off WSDL caching even if
+ <link
linkend="ini.soap.wsdl-cache-enabled">soap.wsdl_cache_enabled</link>
+ is on. Available since PHP 5.1.5.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>WSDL_CACHE_DISK</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Available since PHP 5.1.5.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>WSDL_CACHE_MEMORY</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Caches WSDL data in process memory. Available since PHP 5.1.5.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>WSDL_CACHE_BOTH</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Available since PHP 5.1.5.
+ </simpara>
+ </listitem>
+ </varlistentry>
</variablelist>
</appendix>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/ini.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/soap/ini.xml
diff -u phpdoc/en/reference/soap/ini.xml:1.9 phpdoc/en/reference/soap/ini.xml:1.10
--- phpdoc/en/reference/soap/ini.xml:1.9 Fri Sep 14 21:30:51 2007
+++ phpdoc/en/reference/soap/ini.xml Thu Jan 10 17:03:50 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<section xml:id="soap.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
@@ -40,6 +40,12 @@
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.1.5.</entry>
</row>
+ <row>
+ <entry>soap.wsdl_cache</entry>
+ <entry>"1"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Available since PHP 5.1.5.</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -75,12 +81,12 @@
<varlistentry xml:id="ini.soap.wsdl-cache-ttl">
<term>
<parameter>soap.wsdl_cache_ttl</parameter>
- <type>int</type>
+ <type>integer</type>
</term>
<listitem>
<para>
Sets the number of seconds (time to live) that cached files will be used
- instead the originals.
+ instead of the originals.
</para>
</listitem>
</varlistentry>
@@ -91,7 +97,27 @@
</term>
<listitem>
<para>
- Maximum number of in memory cached wsdl files
+ Maximum number of in-memory cached WSDL files. Adding further files into
+ a full memory cache will delete the oldest files from it.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.soap.wsdl-cache">
+ <term>
+ <parameter>soap.wsdl_cache</parameter>
+ <type>integer</type>
+ </term>
+ <listitem>
+ <para>
+ If <parameter>soap.wsdl_cache_enabled</parameter> is on, this setting
+ determines the type of caching. It can be any of:
+ <constant>WSDL_CACHE_NONE</constant> (<literal>0</literal>),
+ <constant>WSDL_CACHE_DISK</constant> (<literal>1</literal>),
+ <constant>WSDL_CACHE_MEMORY</constant> (<literal>2</literal>) or
+ <constant>WSDL_CACHE_BOTH</constant> (<literal>3</literal>). This can
+ also be set via the <parameter>options</parameter> array in the
+ <classname>SoapClient</classname> or <classname>SoapServer</classname>
+ constructor.
</para>
</listitem>
</varlistentry>