svn: /phpdoc/ja/trunk/reference/apcu/functions/ apcu-dec.xml apcu-delete.xml apcu-inc.xml
| From: | Yoshinari Takaoka | Date: | Wed, 25 Dec 2019 02:07:36 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/apcu/functions/ apcu-dec.xml apcu-delete.xml apcu-inc.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5258@lists.php.net to get a copy of this message | ||
mumumu Wed, 25 Dec 2019 02:07:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348695
Log:
sync with en
Changed paths:
U phpdoc/ja/trunk/reference/apcu/functions/apcu-dec.xml
U phpdoc/ja/trunk/reference/apcu/functions/apcu-delete.xml
U phpdoc/ja/trunk/reference/apcu/functions/apcu-inc.xml
Modified: phpdoc/ja/trunk/reference/apcu/functions/apcu-dec.xml
===================================================================
--- phpdoc/ja/trunk/reference/apcu/functions/apcu-dec.xml 2019-12-25 01:56:01 UTC (rev 348694)
+++ phpdoc/ja/trunk/reference/apcu/functions/apcu-dec.xml 2019-12-25 02:07:36 UTC (rev 348695)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 341344 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 348032 Maintainer: satoruyoshida Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.apcu-dec" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>apcu_dec</refname>
@@ -14,6 +15,7 @@
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>step</parameter><initializer>1</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter
role="reference">success</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>ttl</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
保存した整数値を減らします。
@@ -47,6 +49,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>ttl</parameter></term>
+ <listitem>
+ <para>
+ (既存の値を減らすのではなく) 新しい値を挿入する操作に使うTTL
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
@@ -58,6 +68,28 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.1.12</entry>
+ <entry>
+ 引数 <parameter>ttl</parameter> が追加されました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example>
Modified: phpdoc/ja/trunk/reference/apcu/functions/apcu-delete.xml
===================================================================
--- phpdoc/ja/trunk/reference/apcu/functions/apcu-delete.xml 2019-12-25 01:56:01 UTC (rev 348694)
+++ phpdoc/ja/trunk/reference/apcu/functions/apcu-delete.xml 2019-12-25 02:07:36 UTC (rev 348695)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 340328 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 348112 Maintainer: satoruyoshida Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.apcu-delete" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>apcu_delete</refname>
@@ -11,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type><methodname>apcu_delete</methodname>
+ <type>mixed</type><methodname>apcu_delete</methodname>
<methodparam><type>mixed</type><parameter>key</parameter></methodparam>
</methodsynopsis>
<para>
@@ -38,7 +39,9 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- &return.success;
+ <parameter>key</parameter> が &array; の場合、
+ インデックスが振られた &array; のキーが返されます。
+ そうでない場合、成功したら &true; 失敗したら &false;
が返されます。
</para>
</refsect1>
Modified: phpdoc/ja/trunk/reference/apcu/functions/apcu-inc.xml
===================================================================
--- phpdoc/ja/trunk/reference/apcu/functions/apcu-inc.xml 2019-12-25 01:56:01 UTC (rev 348694)
+++ phpdoc/ja/trunk/reference/apcu/functions/apcu-inc.xml 2019-12-25 02:07:36 UTC (rev 348695)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 341344 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 348032 Maintainer: satoruyoshida Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.apcu-inc" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>apcu_inc</refname>
@@ -14,6 +15,7 @@
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>step</parameter><initializer>1</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter
role="reference">success</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>ttl</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
保存した整数値を増やします。
@@ -47,6 +49,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>ttl</parameter></term>
+ <listitem>
+ <para>
+ (既存の値を減らすのではなく) 新しい値を挿入する操作に使うTTL
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
@@ -58,6 +68,28 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.1.12</entry>
+ <entry>
+ 引数 <parameter>ttl</parameter> が追加されました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example>