1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-23 22:52:11 +01:00

[reference/sqlite3] sync with en

This commit is contained in:
Yoshinari Takaoka
2025-09-09 21:30:49 +09:00
parent 46cce6e2d8
commit 00fe64f924
3 changed files with 70 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 855bfee2f3db70d7dbb4c60c7c4a4efa567f1c60 Maintainer: mumumu Status: ready -->
<!-- EN-Revision: 22583751fbfdaa3eaa41aeb6470d1343f5cb2c78 Maintainer: mumumu Status: ready -->
<refentry xml:id="sqlite3.setauthorizer" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -209,7 +209,7 @@ $db->setAuthorizer(function (int $action, ...$args) use ($allowed_columns) {
if ($action === SQLite3::READ) {
list($table, $column) = $args;
if ($table === 'users' && in_array($column, $allowed_columns) {
if ($table === 'users' && in_array($column, $allowed_columns)) {
return SQLite3::OK;
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 855bfee2f3db70d7dbb4c60c7c4a4efa567f1c60 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: takagi Status: ready -->
<refentry xml:id="sqlite3result.finalize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="SQLite3Result">
<modifier>public</modifier> <type>bool</type><methodname>SQLite3Result::finalize</methodname>
<modifier>public</modifier> <type>true</type><methodname>SQLite3Result::finalize</methodname>
<void/>
</methodsynopsis>
<para>
@@ -27,10 +27,41 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&true; を返します。
&return.true.always;
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<simpara>
初期化されていないオブジェクト経由でこのメソッドを呼び出した場合、
<exceptionname>Error</exceptionname> がスローされます。
</simpara>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.1.0</entry>
<entry>
オブジェクトが正しく初期化されていない場合、
このメソッドは <exceptionname>Error</exceptionname> をスローするようになりました。
これより前のバージョンでは、&false; を返していました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 855bfee2f3db70d7dbb4c60c7c4a4efa567f1c60 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: takagi Status: ready -->
<refentry xml:id="sqlite3stmt.close" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="SQLite3Stmt">
<modifier>public</modifier> <type>bool</type><methodname>SQLite3Stmt::close</methodname>
<modifier>public</modifier> <type>true</type><methodname>SQLite3Stmt::close</methodname>
<void/>
</methodsynopsis>
<para>
@@ -33,10 +33,41 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&true; を返します。
&return.true.always;
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<simpara>
初期化されていないオブジェクト経由でこのメソッドを呼び出した場合、
<exceptionname>Error</exceptionname> がスローされます。
</simpara>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.1.0</entry>
<entry>
オブジェクトが正しく初期化されていない場合、
このメソッドは <exceptionname>Error</exceptionname> をスローするようになりました。
これより前のバージョンでは、&false; を返していました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables: