mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
sync for the stuff added in varnish ext 0.9.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317841 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2dfaaa96a9
commit
b43f47795d
4 changed files with 98 additions and 0 deletions
|
@ -166,6 +166,36 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>VARNISH_CONFIG_COMPAT</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>VARNISH_COMPAT_2</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>VARNISH_COMPAT_3</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</appendix>
|
||||
|
|
|
@ -32,6 +32,7 @@ VARNISH_CONFIG_HOST - varnish instance ip
|
|||
VARNISH_CONFIG_PORT - varnish instance port
|
||||
VARNISH_CONFIG_SECRET - varnish instance secret
|
||||
VARNISH_CONFIG_TIMEOUT - connection read timeout
|
||||
VARNISH_CONFIG_COMPAT - varnish major version compatibility
|
||||
]]>
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
66
reference/varnish/varnishadmin/setcompat.xml
Normal file
66
reference/varnish/varnishadmin/setcompat.xml
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 316925 $ -->
|
||||
|
||||
<refentry xml:id="varnishadmin.setcompat" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>VarnishAdmin::setCompat</refname>
|
||||
<refpurpose>Set the class compat configuration param</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>void</type><methodname>VarnishAdmin::setCompat</methodname>
|
||||
<methodparam><type>integer</type><parameter>compat</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>compat</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Varnish compatibility option.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -24,6 +24,7 @@
|
|||
<function name='varnishadmin::settimeout' from='PECL varnish >= 0.8'/>
|
||||
<function name='varnishadmin::setport' from='PECL varnish >= 0.8'/>
|
||||
<function name='varnishadmin::setsecret' from='PECL varnish >= 0.8'/>
|
||||
<function name='varnishadmin::setcompat' from='PECL varnish >= 0.9.2'/>
|
||||
|
||||
<!-- VarnishStat class -->
|
||||
<function name='varnishstat' from='PECL varnish >= 0.3'/>
|
||||
|
|
Loading…
Reference in a new issue