svn: /phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/ connect.xml construct.xml
| From: | Mikko Koppanen | Date: | Fri, 04 Sep 2009 07:45:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/ connect.xml construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4828@lists.php.net to get a copy of this message | ||
mkoppanen Fri, 04 Sep 2009 07:45:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288031
Log:
Fix param description and types
Changed paths:
U phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/connect.xml
U phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/construct.xml
Modified: phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/connect.xml
===================================================================
--- phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/connect.xml 2009-09-04 07:37:07 UTC (rev
288030)
+++ phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/connect.xml 2009-09-04 07:45:15 UTC (rev
288031)
@@ -13,7 +13,7 @@
<modifier>public</modifier>
<type>TokyoTyrant</type><methodname>TokyoTyrant::connect</methodname>
<methodparam><type>string</type><parameter>host</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>port</parameter></methodparam>
- <methodparam
choice="opt"><type>bool</type><parameter>persistent</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>options</parameter></methodparam>
</methodsynopsis>
<para>
Connects to a remote database
@@ -44,7 +44,7 @@
<term><parameter>persistent</parameter></term>
<listitem>
<para>
- Whether to create a persistent connection. Default: &true;
+ Connection options: timeout (default: 5.0) and persistent (default: &true;)
</para>
</listitem>
</varlistentry>
Modified: phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/construct.xml 2009-09-04 07:37:07 UTC (rev
288030)
+++ phpdoc/en/trunk/reference/tokyo_tyrant/tokyotyrant/construct.xml 2009-09-04 07:45:15 UTC (rev
288031)
@@ -12,8 +12,8 @@
<methodsynopsis>
<methodname>TokyoTyrant::__construct</methodname>
<methodparam
choice="opt"><type>string</type><parameter>host</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>port</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>persistent</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>port</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>options</parameter></methodparam>
</methodsynopsis>
<para>
Constructs a new TokyoTyrant object and optionally connects to the database
@@ -41,10 +41,10 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>persistent</parameter></term>
+ <term><parameter>options</parameter></term>
<listitem>
<para>
- Whether to create a persistent connection. Default: &true;
+ Connection options: timeout (default: 5.0) and persistent (default: &true;)
</para>
</listitem>
</varlistentry>