svn: /phpdoc/en/trunk/reference/chdb/chdb/ construct.xml get.xml
| From: | Yoshinari Takaoka | Date: | Sun, 30 Dec 2012 20:33:52 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/chdb/chdb/ construct.xml get.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10884@lists.php.net to get a copy of this message | ||
mumumu Sun, 30 Dec 2012 20:33:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328923
Log:
- translated some functions.
Changed paths:
U phpdoc/en/trunk/reference/chdb/chdb/construct.xml
U phpdoc/en/trunk/reference/chdb/chdb/get.xml
Modified: phpdoc/en/trunk/reference/chdb/chdb/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/chdb/chdb/construct.xml 2012-12-30 19:35:08 UTC (rev 328922)
+++ phpdoc/en/trunk/reference/chdb/chdb/construct.xml 2012-12-30 20:33:52 UTC (rev 328923)
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
+<!-- EN-Revision: 321901 Maintainer: mumumu Status: ready -->
<refentry xml:id="chdb.construct" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>chdb::__construct</refname>
- <refpurpose>Creates a <classname>chdb</classname> instance</refpurpose>
+ <refpurpose><classname>chdb</classname>
のインスタンスを生成します。</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -14,15 +15,10 @@
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
</methodsynopsis>
<para>
- Loads a chdb file, by mapping it into memory.
+ メモリにマップすることで読み込む chdb のファイル。
<note>
<para>
- While some validity checks are performed on the specified file, they are
- mostly there to avoid the possibility of common mistakes (for example,
- loading a file which is not a chdb database, or that is somehow
- incompatible with the current system). A maliciously crafted chdb file can
- thus be dangerous if loaded, so chdb files should be trusted and treated
- with the same security protections used for PHP shared libraries.
+
指定されたファイルに対して中身が正しいかがチェックされます。これはありがちな間違い(たとえば、chdb
でないファイルを読み込んだり、どういうわけか今動いている chdb
と互換性がなかったりする場合)を起こす可能性を避けるためのものです。悪意があるユーザーが細工した
chdb ファイルを読み込むと危険な場合があるため、chdb ファイルは PHP
の共有ライブラリに対して用いられるセキュリティ設定と同程度にしか信頼してはいけませんし、そのように扱うべきです。
</para>
</note>
</para>
@@ -35,7 +31,7 @@
<term><parameter>pathname</parameter></term>
<listitem>
<para>
- The name of the file to load.
+ 読み込むファイル名
</para>
</listitem>
</varlistentry>
@@ -45,15 +41,11 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
- Throws an exception in case the chdb file hasn't been successfully loaded.
+ chdb ファイルの読み込みに失敗した場合は例外がスローされます。
</para>
<note>
<para>
- A valid chdb file might fail to load in case it was created on an
- architecture with a different endianness, with a different version of chdb,
- or if the file is too big to be mapped into memory (mostly in case of huge
- files and 32-bit architectures). In these cases the load will fail by
- throwing an exception, but otherwise not performing any illegal operation.
+ 正しい chdb
ファイルであっても、異なったエンディアンを採用するアーキテクチャ上で作成したり、異なるバージョンの
chdb で作成したものは読み込みに失敗する場合があります。また、chdb
ファイルが巨大すぎてメモリにマップできない場合(ほとんどの場合は、32bit
アーキテクチャと巨大なファイルの組み合わせです)も同様です。これらの場合は、例外をスローして読み込みが失敗するでしょう。それ以外の場合でも、不正な操作を行った場合は例外がスローされます。
</para>
</note>
</refsect1>
Modified: phpdoc/en/trunk/reference/chdb/chdb/get.xml
===================================================================
--- phpdoc/en/trunk/reference/chdb/chdb/get.xml 2012-12-30 19:35:08 UTC (rev 328922)
+++ phpdoc/en/trunk/reference/chdb/chdb/get.xml 2012-12-30 20:33:52 UTC (rev 328923)
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
+<!-- EN-Revision: 317663 Maintainer: mumumu Status: ready -->
<refentry xml:id="chdb.get" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>chdb::get</refname>
- <refpurpose>Gets the value associated with a key</refpurpose>
+ <refpurpose>キーに対応した値を取得する</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -14,7 +15,7 @@
<methodparam><type>string</type><parameter>key</parameter></methodparam>
</methodsynopsis>
<para>
- Gets the value associated with a key from a chdb database.
+ chdb データベースから、キーに対応した値を取得します。
</para>
</refsect1>
@@ -25,7 +26,7 @@
<term><parameter>key</parameter></term>
<listitem>
<para>
- The key for which to get the value.
+ 値を取得するためのキー
</para>
</listitem>
</varlistentry>
@@ -35,15 +36,14 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns a string containing the value associated with the given
- <parameter>key</parameter>, or &null; if not found.
+ 与えられた <parameter>key</parameter>
に対応した値を含む文字列を返します。対応する値が見つからなかった場合は
&null; を返します。
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title><function>chdb::get</function> example</title>
+ <title><function>chdb::get</function> の例</title>
<programlisting role="php">
<![CDATA[
<?php