svn: /phpdoc/ja/trunk/reference/sqlite3/sqlite3/ setauthorizer.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 24 Nov 2020 02:49:29 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351561

Log:
[status ready] translated sqlite3/setauthorizer.xml

Changed paths:
    U   phpdoc/ja/trunk/reference/sqlite3/sqlite3/setauthorizer.xml
svn-diffs-351561.txt (text/x-diff, 11.1 KB)
Modified: phpdoc/ja/trunk/reference/sqlite3/sqlite3/setauthorizer.xml
===================================================================
--- phpdoc/ja/trunk/reference/sqlite3/sqlite3/setauthorizer.xml	2020-11-24 02:23:01 UTC (rev 351560)
+++ phpdoc/ja/trunk/reference/sqlite3/sqlite3/setauthorizer.xml	2020-11-24 02:49:29 UTC (rev 351561)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351547 Maintainer: mumumu Status: working -->
+<!-- EN-Revision: 351547 Maintainer: mumumu Status: ready -->

 <refentry xml:id="sqlite3.setauthorizer" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -29,7 +29,7 @@
   </para>
   <para>
    authorizer コールバックは、
-   SQLite が文を準備するたびに複数回呼ばれる可能性がありmす。
+   SQLite が文を準備するたびに複数回呼ばれる可能性があります。
    <literal>SELECT</literal> や
    <literal>UPDATE</literal> 文は
    個別のカラムが読み取られたり、更新されたりするたびに
@@ -53,38 +53,38 @@
       </row>
      </thead>
      <tbody>
-      <row><entry><constant>sqlite3::create_index</constant></entry><entry>index name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::create_table</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::create_temp_index</constant></entry><entry>index name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::create_temp_table</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::create_temp_trigger</constant></entry><entry>trigger name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::create_temp_view</constant></entry><entry>view name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::create_trigger</constant></entry><entry>trigger name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::create_view</constant></entry><entry>view name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::delete</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::drop_index</constant></entry><entry>index name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::drop_table</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::drop_temp_index</constant></entry><entry>index name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::drop_temp_table</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::drop_temp_trigger</constant></entry><entry>trigger name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::drop_temp_view</constant></entry><entry>view name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::drop_trigger</constant></entry><entry>trigger name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::drop_view</constant></entry><entry>view name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::insert</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::pragma</constant></entry><entry>pragma name</entry><entry>first argument passed to the pragma, or &null;</entry></row>
-      <row><entry><constant>sqlite3::read</constant></entry><entry>table name</entry><entry>column name</entry></row>
+      <row><entry><constant>sqlite3::create_index</constant></entry><entry>インデックス名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::create_table</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::create_temp_index</constant></entry><entry>インデックス名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::create_temp_table</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::create_temp_trigger</constant></entry><entry>トリガ名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::create_temp_view</constant></entry><entry>view名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::create_trigger</constant></entry><entry>トリガ名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::create_view</constant></entry><entry>view名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::delete</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::drop_index</constant></entry><entry>インデックス名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::drop_table</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::drop_temp_index</constant></entry><entry>インデックス名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::drop_temp_table</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::drop_temp_trigger</constant></entry><entry>トリガ名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::drop_temp_view</constant></entry><entry>view名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::drop_trigger</constant></entry><entry>トリガ名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::drop_view</constant></entry><entry>view名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::insert</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::pragma</constant></entry><entry>プラグマの名前</entry><entry>プラグマに渡す最初の引数。もしくは &null;</entry></row>
+      <row><entry><constant>sqlite3::read</constant></entry><entry>テーブル名</entry><entry>カラム名</entry></row>
       <row><entry><constant>sqlite3::select</constant></entry><entry>&null;</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::transaction</constant></entry><entry>operation</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::update</constant></entry><entry>table name</entry><entry>column name</entry></row>
-      <row><entry><constant>sqlite3::attach</constant></entry><entry>filename</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::detach</constant></entry><entry>database name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::alter_table</constant></entry><entry>database name</entry><entry>table name</entry></row>
-      <row><entry><constant>sqlite3::reindex</constant></entry><entry>index name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::analyze</constant></entry><entry>table name</entry><entry>&null;</entry></row>
-      <row><entry><constant>sqlite3::create_vtable</constant></entry><entry>table name</entry><entry>module name</entry></row>
-      <row><entry><constant>sqlite3::drop_vtable</constant></entry><entry>table name</entry><entry>module name</entry></row>
-      <row><entry><constant>sqlite3::function</constant></entry><entry>&null;</entry><entry>function name</entry></row>
-      <row><entry><constant>sqlite3::savepoint</constant></entry><entry>operation</entry><entry>savepoint name</entry></row>
+      <row><entry><constant>sqlite3::transaction</constant></entry><entry>操作</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::update</constant></entry><entry>テーブル名</entry><entry>カラム名</entry></row>
+      <row><entry><constant>sqlite3::attach</constant></entry><entry>ファイル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::detach</constant></entry><entry>データベース名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::alter_table</constant></entry><entry>データベース名</entry><entry>テーブル名</entry></row>
+      <row><entry><constant>sqlite3::reindex</constant></entry><entry>インデックス名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::analyze</constant></entry><entry>テーブル名</entry><entry>&null;</entry></row>
+      <row><entry><constant>sqlite3::create_vtable</constant></entry><entry>テーブル名</entry><entry>モジュール名</entry></row>
+      <row><entry><constant>sqlite3::drop_vtable</constant></entry><entry>テーブル名</entry><entry>モジュール名</entry></row>
+      <row><entry><constant>sqlite3::function</constant></entry><entry>&null;</entry><entry>ファンクション名</entry></row>
+      <row><entry><constant>sqlite3::savepoint</constant></entry><entry>操作</entry><entry>セーブポイントの名前</entry></row>
       <row><entry><constant>sqlite3::recursive</constant></entry><entry>&null;</entry><entry>&null;</entry></row>
      </tbody>
     </tgroup>
@@ -95,10 +95,9 @@
    <literal>"temp"</literal>, などの) データベースの名前です。
   </para>
   <para>
-   <!-- to be translated -->
-   The 6th parameter to the authorizer callback is the name of the inner-most trigger or
-   view that is responsible for the access attempt or &null; if this access attempt is
-   directly from top-level SQL code.
+   authorizer コールバックに与える6番目の引数は、
+   トップレベルのSQLコードから直接アクセスが行われる場合に、
+   アクセスを試みる責任を持つ一番奥の view やトリガの名前です。
   </para>
   <para>
    コールバックが <constant>SQLite3::OK</constant>
@@ -108,13 +107,14 @@
    なぜアクセスが失敗したのかを説明するメッセージが残ります。
   </para>
   <para>
-   <!-- to be translated -->
-   If the action code is <constant>SQLite3::READ</constant> and the callback returns
-   <constant>SQLite3::IGNORE</constant> then the prepared statement statement is
-   constructed to substitute a &null; value in place of the table column that would have
-   been read if <constant>SQLite3::OK</constant> had been returned. The
-   <constant>SQLite3::IGNORE</constant> return can be used to deny an untrusted user
-   access to individual columns of a table.
+   アクションが <constant>SQLite3::READ</constant> で、
+   さらにコールバックが
+   <constant>SQLite3::IGNORE</constant> を返す場合、
+   準備されたSQL文は、
+   <constant>SQLite3::OK</constant> が返された場合に読まれていたテーブルのカラムを &null; で置き換えるように文を組み立てます。
+   <constant>SQLite3::IGNORE</constant> は、
+   信頼できないユーザーのアクセスが、
+   テーブルの個別のカラムへのアクセスを拒否する場合に使うことが出来ます。
   </para>
   <para>
    テーブルを <literal>SELECT</literal> 文で参照しているが、
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.