text
stringlengths
1
254
output
stringlengths
2
255
If FALSE is returned, this function failed.
直近のエラーメッセージまたは 'No Error' を含む文字列を返します。 FALSE が返された場合、この関数は失敗しています。 このメッセージは、直近のコマンドに関係するものです。
Prev
(PHP 3 = 3.0.3, PHP 4)
Frees the memory occupied by the Hyperwave document.
Hyperwave ドキュメントにより占有されたメモリーを解放します。
Prev
(PHP 3 = 3.0.3, PHP 4)
Returns an array of object ids with anchors of the document with object ID objectID.
オブジェクト ID objectID を有するドキュメント のアンカーのオブジェクト ID の配列を返します。
Prev
(PHP 3 = 3.0.3, PHP 4)
Returns an array of object records with anchors of the document with object ID objectID.
オブジェクト ID objectID を有するドキュメント のアンカーのオブジェクトレコードの配列を返します。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
It will also lock the object, so other users cannot access it until it is unlocked.
ID objectID を有するオブジェクトの オブジェクトレコードを返します。 また、オブジェクトをロックします。このため、ロックを解放するまで、 他のユーザーはアクセスできません。
Prev
hw_Unlock(), hw_GetObject() も参照下さい。
Returns an array of object ids.
(PHP 3 = 3.0.3, PHP 4)
The function will not return child documents.
オブジェクト ID の配列を返します。各オブジェクト ID は、 ID objectID を有するコレクションの 子コレクションに属しています。 この関数は、子ドキュメントを返しません。
Prev
hw_GetChildren(), hw_GetChildDocColl() も参照下さい。
Returns an array of object records.
(PHP 3 = 3.0.3, PHP 4)
The function will not return child documents.
オブジェクトレコードの配列を返します。各オブジェクトレコードは、 ID objectID を有するコレクションの 子コレクションに属しています。 この関数は、子ドキュメントを返しません。
Prev
hw_ChildrenObj(), hw_GetChildDocCollObj() も参照下さい。
Prev
(PHP 3 = 3.0.3, PHP 4)
Returns array of object ids for child documents of a collection.
コレクションの子ドキュメントに関するオブジェクト ID の配列を返し ます。
Prev
hw_GetChildren(), hw_GetChildColl() も参照下さい。
Prev
(PHP 3 = 3.0.3, PHP 4)
Returns an array of object records for child documents of a collection.
コレクションの子ドキュメントに関するオブジェクトレコードの配列を 返します。
Prev
hw_ChildrenObj(), hw_GetChildCollObj() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The maximum number of matches is limited to max_hits.
ID objectID を有するコレクションのオブジェクトを 検索し、オブジェクト ID の配列を返します。 最大マッチ数は、 max_hits で制限されます。 max_hits が -1 にセットされた場合、 最大マッチ数は、無制限となります。
The query will only work with indexed attributes.
クエリーはインデックス付き属性でのみ動作します。
Prev
hw_GetObjectByQueryCollObj() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The maximum number of matches is limited to max_hits.
ID objectID を有するコレクションのオブジェクトを 検索し、オブジェクトレコードの配列を返します。 最大マッチ数は、 max_hits で制限されます。 max_hits が -1 にセットされた場合、 最大マッチ数は、無制限となります。
The query will only work with indexed attributes.
クエリーはインデックス付き属性でのみ動作します。
Prev
hw_GetObjectByQueryColl() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The maximum number of matches is limited to max_hits.
サーバー全体のオブジェクトを検索し、オブジェクト ID の配列を 返します。最大マッチ数は、 max_hits で制限 されます。 max_hits が -1 にセットされた場合、 最大マッチ数は無制限となります。
The query will only work with indexed attributes.
クエリーはインデックス付き属性でのみ動作します。
Prev
hw_GetObjectByQueryObj() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The maximum number of matches is limited to max_hits.
サーバー全体のオブジェクトを検索し、オブジェクトレコードの配列を 返します。最大マッチ数は、 max_hits で制限 されます。 max_hits が -1 にセットされた場合、 最大マッチ数は無制限となります。
The query will only work with indexed attributes.
クエリーはインデックス付き属性でのみ動作します。
Prev
hw_GetObjectByQuery() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
If the second parameter is an array of integer the function will return an array of object records.
二番目のパラメータが整数(スカラー)の場合、ID objectID を有するオブジェクトの オブジェクトレコードを返します。 二番目のパラメータが整数の配列の場合、関数はオブジェクトレコードの 配列を返します。このような場合、最後のパラメータであるクエリー文字列 も評価されます。
In such a case the last parameter is also evaluated which is a query string.
クエリー文字列は次の構文を有しています。
The query string has the following syntax:
expr ::= "(" expr ")" _BAR_
expr ::= "(" expr ") "_BAR_
"!" expr _BAR_ /* NOT */
"!" expr _BAR_ / * NOT * /
expr "_BAR__BAR_" expr _BAR_ /* OR */
expr "_BAR__BAR_" expr _BAR_ / * OR * /
expr "" expr _BAR_ /* AND */
attribute ::= / * any attribute name (Title, Author, DocumentType...) * /
attribute ::= /* 属性の名前 (Title, Author, DocumentType...) */
operator ::= "=" _BAR_ / * equal * /
operator ::= "=" _BAR_ /* 等しい */
"" _BAR_ / * greater than (string compare) * /
"" _BAR_ /* より小さい (文字列比較) */
"~" / * regular expression matching * /
"" _BAR_ /* より大きい (文字列比較) */
The query allows to further select certain objects from the list of given objects.
"~" /* 正規表現によるマッチング */
How many object records are returned depends on the query and if access to the object is allowed.
クエリーにより指定したオブジェクトのリストアら特定のオブジェクトを 選択することが可能となります。 他の関数とは異なり、このクエリーはインデックス付きの属性を使用しません。 返されるオブジェクトレコードの数は、クエリーおよび オブジェクトにアクセス可能であるかどうかに依存します。
Prev
hw_GetAndLock(), hw_GetObjectByQuery() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
Each object id belongs to a parent of the object with ID objectID.
オブジェクト ID の添字配列を返します。各オブジェクト ID は、 ID objectID を有するオブジェクトの親 に属しています。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The associated array is the last entry of the returned array.
オブジェクトレコードの添字配列に加えてオブジェクトでコードに関する 統計情報を含む連想配列を返します。各オブジェクトレコードは、 ID objectID を有するオブジェクトの親 に属しています。
Warning
(PHP 3 = 3.0.3, PHP 4)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
If the number of children is 1 the function will return the document itself formated by the Hyperwave Gateway Interface (HGI).
(PHP 3 = 3.0.3, PHP 4)
Adding database support by a Hyperwave gateway should be more difficult than doing it in PHP.
hw_GetRemote() も参照下さい。
Common remote documents are for example external web pages or queries in a database.
(PHP 3 = 3.0.3, PHP 4)
Adding database support by a Hyperwave gateway should be more difficult than doing it in PHP.
hw_GetRemoteChildren() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The object can either be a document or an anchor of type destination.
ID objectID を有するオブジェクトを指す 全てのアンカーのオブジェクトレコードを返します。 このオブジェクトは、ドキュメントまたはリンク先を指すアンカー のどちらかとすることができます。
Prev
hw_GetAnchors() も参照下さい。
The default is 0 and will result in links that are constructed from the name of the link 's destination object.
(PHP 3 = 3.0.3, PHP 4)
This function will only work for pure text documents.
この関数は、純粋なテキストドキュメントについてのみ動作します。 特別なデータ接続をオープンしないため、伝達の間、 制御用の接続はブロックされます。
See also hw_pipedocument(), hw_free_document(), hw_document_bodytag(), hw_document_size(), and hw_output_document().
hw_PipeDocument(), hw_FreeDocument(), hw_Document_BodyTag(), hw_Document_Size(), hw_Output_Document() も参照下さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
Prev
接続を行っているユーザー名を返します。
Identification is only valid for the current session.
(PHP 3 = 3.0.3, PHP 4)
In most cases it will be easier to identify with the opening of the connection.
ユーザーを username および password で認証します。 認証は、カレントのセッションでのみ有効です。 この関数が頻繁に必要とんされるとは考えられません。 多くの場合、接続をオープンする際に認証を行う方がより 簡単でしょう。
Prev
hw_Connect() も参照下さい。
Returns information about the current connection.
(PHP 3 = 3.0.3, PHP 4)
Serverstring, Host, Port, Username, Port of Client, Byte swapping
現在の接続に関する情報を返します。返される配列は次のようなフォー マットとなります。 Serverstring, Host, Port, Username, Port of Client, Byte swapping
Prev
(PHP 3 = 3.0.3, PHP 4)
Inserts a new collection with attributes as in object_array into collection with object ID objectID.
object_array の中の属性を有する新しいコレクションを オブジェクト ID objectID のコレクションに 挿入します。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
This function inserts either an object record only or an object record and a pure ascii text in text if text is given.
object_record の中の属性を有する 新しいドキュメントを オブジェクト ID parentID のコレクションに 挿入します。 この関数は、オブジェクトレコードのみまたは text が指定された場合に text の中の純粋なアスキーテキストと オブジェクトレコードのどちらかを挿入します。 汎用の一般的なドキュメントを挿入したい場合は、代わりに hw_insertdocument() を使用して下さい。
See also hw_insertdocument(), and hw_inscoll().
hw_InsertDocument(), hw_InsColl() も参照下さい。
Warning
(PHP 4 = 4.0.4)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
The document has to be created before with hw_new_document().
(PHP 3 = 3.0.3, PHP 4)
Type, DocumentType, Title and Name.
ドキュメントを parent_id を有するコレクション にアップロードします。 ドキュメントは、事前に hw_NewDocument() で 作成されている必要があります。 新規ドキュメントのオブジェクトレコードは、少なくとも次の属性を 有しているよう注意して下さい。: Type, DocumentType, Title ,Name MimeType を設定したい場合もあるかもしれません。 関数は、新規ドキュメントのオブジェクト ID または FALSE を返します。
The functions returns the object id of the new document or FALSE.
hw_PipeDocument() も参照下さい。
Inserts an object into the server.
(PHP 3 = 3.0.3, PHP 4)
See the HG-CSP documentation for a detailed information on how the parameters have to be.
オブジェクトをサーバーに挿入します。オブジェクトは、全ての有効な Hyperwavve オブジェクトとすることができます。 オブジェクトは、全ての有効な Hyperwave オブジェクトとすることが 可能です。 パラメータに関する詳細な情報を説明するっo、 HG-CSP ドキュメントを参照下さい。
Invisible positions are needed if the annotation has no correspondig link in the annotation text.
注意: アンカーを挿入したい場合、属性 Position は常に start/end の値または 'invisible' のどちらかに常に 設定されています。 不可視(invisible)位置は、注釈が対応する注釈文へのリンクを 有していない場合に必要です。
Prev
hw_PipeDocument(), hw_InsertDocument(), hw_InsDoc(), hw_InsColl() も参照下さい。
Maps a global object id on any hyperwave server, even those you did not connect to with hw_connect(), onto a virtual object id.
(PHP 3 = 3.0.13, PHP 4)
The server id is the first part of the global object id (GOid) of the object which is actually the IP number as an integer.
hyperwave サーバーのグローバルオブジェクトIDを、 仮想的なオブジェクトIDに割りつけます。 これは、 hw_connect() で接続を行っていない場合でも 行われます。 この仮想オブジェクトIDは、 hw_getobject() でオブジェクトレコードを得るといった用途に 他のオブジェクトIDと同様に使用することが可能です。 サーバーIDは、オブジェクトのグローバルオブジェクトID(GOid)の最初の 部分であり、実際にはサーバーのIPアドレスを整数で表したものとなります。
It is not set by default.
注意: この関数を使用するには、F_DISTRIBUTED フラグを設定しておく必要があります。 このフラグは、現在のところコンパイル時に hg_comm.c の中で設定することのみが可能です。 このフラグは、デフォルトでは設定されていません。 hg_comm.c の先頭にあるコメントをお読みください。
The object is specified by the Object ID object_to_change.
(PHP 3 = 3.0.7, PHP 4)
The last parameter determines if the modification is performed recursively.
このコマンドによりオブジェクトレコードの個々の属性を削除、追加、 修正することが可能となります。オブジェクトはオブジェクトID object_to_change により指定します。最初の配 列 remove は、削除する属性のリストです。二 番目の配列 add は、加えたい属性のリストで す。ある属性を修正するためには、古い属性を削除し、新規に追加する 必要があります。 hw_modifyobject() は、 削除する属性の値が文字列または配列でない限り、つねに属性を追加する前に 属性の削除を行います。
The keys of both arrays are the attributes name.
最後のパラメータは、修正を再帰的に行うかどうかを指定します。 1は、再帰的な修正を意味します。オブジェクトのいくつかを修正できな い場合、通知されることなくスキップされます。 hw_error() は、いくつかのオブジェクトが 修正されなかったことからエラーを発生しない可能性があります。
The following addition of a new value for that attribute would also fail.
値 'books'を有する属性 'Name' を 'articles' に変更したい場合、 二つの配列を作成し、 hw_modifyobject() をコールする 必要があります。
0 would not even try to remove it and the addition will work.
例 1属性を修正する
Example 1. modifying an attribute
例 2完全に新規の属性を追加する
Example 2. adding a completely new attribute
注意 'Title' のような多言語属性は、2つの方法で修正可能です。 この場合、 'language':'title' という基本形式で属性の値を与えるか、 下記のように各言語毎に配列の要素を与えることにより指定します。 まずは、以下の例を見てみましょう。
Multilingual attributes, e.g. 'Title', can be modified in two ways.
例 3Title 属性を修正する