svn: /phpdoc/ja/trunk/reference/ldap/functions/ ldap-modify-batch.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Mon, 20 Jan 2020 19:01:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348984
Log:
Status: working -> ready
Changed paths:
U phpdoc/ja/trunk/reference/ldap/functions/ldap-modify-batch.xml
Modified: phpdoc/ja/trunk/reference/ldap/functions/ldap-modify-batch.xml
===================================================================
--- phpdoc/ja/trunk/reference/ldap/functions/ldap-modify-batch.xml 2020-01-20 18:42:48 UTC (rev 348983)
+++ phpdoc/ja/trunk/reference/ldap/functions/ldap-modify-batch.xml 2020-01-20 19:01:19 UTC (rev 348984)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346169 Maintainer: mumumu Status: working -->
+<!-- EN-Revision: 346169 Maintainer: mumumu Status: ready -->
<refentry xml:id="function.ldap-modify-batch" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ldap_modify_batch</refname>
@@ -42,28 +42,25 @@
</para>
</listitem>
</varlistentry>
- <!-- to be translated -->
<varlistentry>
<term><parameter>entry</parameter></term>
<listitem>
<para>
- An array that specifies the modifications to make. Each entry in this
- array is an associative array with two or three keys:
- <literal>attrib</literal> maps to the name of the attribute to modify,
- <literal>modtype</literal> maps to the type of modification to perform,
- and (depending on the type of modification) <literal>values</literal>
- maps to an array of attribute values relevant to the modification.
+ 行う変更を指定する配列。
+ この配列の個々のエントリは、2つまたは3つのキーからなる連想配列です:
+ <literal>attrib</literal> は、変更する属性の名前に対応します。
+ <literal>modtype</literal> は、行う変更のタイプに対応し、
+ (変更のタイプによっては) <literal>values</literal> が変更に関連した属性値の配列に対応します。
</para>
<para>
- Possible values for <literal>modtype</literal> include:
+ <literal>modtype</literal> で有効な値は以下のとおりです:
<variablelist>
<varlistentry>
<term><constant>LDAP_MODIFY_BATCH_ADD</constant></term>
<listitem>
<para>
- Each value specified through <literal>values</literal> is added (as
- an additional value) to the attribute named by
- <literal>attrib</literal>.
+ <literal>values</literal> を通じて指定された値が、
+ (追加の値として) <literal>attrib</literal> で指定された属性に追加されます。
</para>
</listitem>
</varlistentry>
@@ -71,10 +68,9 @@
<term><constant>LDAP_MODIFY_BATCH_REMOVE</constant></term>
<listitem>
<para>
- Each value specified through <literal>values</literal> is removed
- from the attribute named by <literal>attrib</literal>. Any value of
- the attribute not contained in the <literal>values</literal> array
- will remain untouched.
+ <literal>values</literal> で指定された値が、
+ <literal>attrib</literal> で指定された属性から削除されます。
+ <literal>values</literal> に含まれていない属性の値は、そのまま残されます。
</para>
</listitem>
</varlistentry>
@@ -82,9 +78,8 @@
<term><constant>LDAP_MODIFY_BATCH_REMOVE_ALL</constant></term>
<listitem>
<para>
- All values are removed from the attribute named by
- <literal>attrib</literal>. A <literal>values</literal> entry must
- not be provided.
+ <literal>attrib</literal> で指定された属性名から、全ての値を削除します。
+ <literal>values</literal> エントリを指定してはいけません。
</para>
</listitem>
</varlistentry>
@@ -92,9 +87,8 @@
<term><constant>LDAP_MODIFY_BATCH_REPLACE</constant></term>
<listitem>
<para>
- All current values of the attribute named by
- <literal>attrib</literal> are replaced with the values specified
- through <literal>values</literal>.
+ <literal>attrib</literal> の属性名の現在の全ての値が、
+ <literal>values</literal> で指定された値で置き換えられます。
</para>
</listitem>
</varlistentry>
@@ -101,10 +95,11 @@
</variablelist>
</para>
<para>
- Note that any value for <literal>attrib</literal> must be a string, any
- value for <literal>values</literal> must be an array of strings, and
- any value for <literal>modtype</literal> must be one of the
- LDAP_MODIFY_BATCH_* constants listed above.
+ 以下の点に注意してください:
+ <literal>attrib</literal> の値は文字列でなければいけません。
+ <literal>values</literal> の値は、文字列の配列でなければいけません。
+ そして、 <literal>modtype</literal> の値は、上で示した
+ LDAP_MODIFY_BATCH_* 定数のうちのひとつでなければいけません。
</para>
</listitem>
</varlistentry>