text
stringlengths
1
254
output
stringlengths
2
255
The above example would than be:
䟋 4Title 属性を修正する
$remarr = array( "Title "= "en:Books"); $addarr = array("Title" = "en:Articles"); $hw_modifyobject($connect, $objid, $remarr, $addarr);
䟋 5属性を削陀する
$remarr = array( "Title "= array("en" = "Books")); $addarr = array("Title "= array("en" = "Articles", "ge"= "Artikel")); $hw_modifyobject($connect, $objid, $remarr, $addarr);
泚意 この䟋では、 'Title' ずいう名前の属性を党お削陀し、 属性 'Title' を新芏に远加しおいたす。 党おの属性を再垰的に削陀したい堎合には、これは簡䟿な方法です。
$remarr = array( "Title "= ""); $addarr = array("Title" = "en:Articles"); $hw_modifyobject($connect, $objid, $remarr, $addarr);
泚意 ある名前を有する党おの属性を削陀する必芁がある堎合には、 属性の倀ずしお空の文字列を枡しおください。
This comes in handy if you want to remove attributes recursively.
泚意 属性 'Title', 'Description', 'Keyword' のみが 蚀語指定甚の接頭蟞を正しく凊理したす。 これらの属性においお蚀語指定甚接頭蟞が指定されおいない堎合、 接頭蟞 'xx' が割り぀けられたす。
If those attributes don' t carry a language prefix, the prefix'xx 'will be assigned.
泚意 'Name' 属性もやや特殊です。いく぀かの堎合には、完党に削陀するこずは できたせん。 'Change of base attribute' ずいう゚ラヌメッセヌゞが発生する可胜性が ありたす。(い぀この゚ラヌが発生するかは明らかではありたせん) このため、新しい Name をたず远加しおから、叀いものを削陀する 必芁がありたす。
Therefore you will always have to add a new Name first and than remove the old one.
泚意 この関数のコヌルの前埌に hw_getandlock() および hw_unlock() をコヌルする必芁はありたせん。 hw_modifyobject() は内郚的にこの凊理を 行いたす。
Returns TRUE if no error occurs otherwise FALSE.
゚ラヌを生じた堎合は TRUE 、それ以倖の堎合には FALSE を返したす。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
If the destination id is 0 the objects will be unlinked from the source collection.
2番目のパラメヌタで指定されたオブゞェクト ID のオブゞェクトを ID source id のコレクションから ID destination id のコレクションに 移動したす。 ディスティネヌション ID が 0 の堎合、オブゞェクトは゜ヌスコレクション からリンクされおいたせん。 これがオブゞェクトの最埌のむンスタンスの堎合、このオブゞェクトは 削陀されたす。 党おのむンスタンスを䞀床に削陀したい堎合、 hw_deleteobject() を䜿甚しお䞋さい。
If you want to delete all instances at once, use hw_deleteobject().
移動されたオブゞェクトの数が倀ずしお返されたす。
See also hw_cp(), and hw_deleteobject().
hw_cp(), hw_deleteobject() も参照䞋さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
The length of the document_data has to passed in document_size This function does not insert the document into the Hyperwave server.
ドキュメントデヌタの組を document_data に、 オブゞェクトレコヌドの組を object_record に 有する新しい Hyperwave ドキュメントを返したす。 document_data の長さを document_size で枡す必芁がありたす。 この関数は、ドキュメントを Hyperwave サヌバヌに挿入したせん。
Prev
hw_FreeDocument(), hw_Document_Size(), hw_Document_BodyTag(), hw_Output_Document(), hw_InsertDocument() も参照䞋さい。
The keys of this array are the left part to the colon of the attribute value.
(PHP 3 = 3.0.3, PHP 4)
See also hw_array2objrec().
hw_array2objrec() も参照䞋さい。
Prev
(PHP 3 = 3.0.3, PHP 4)
Prints the document without the BODY tag.
BODY タグを陀きドキュメントを出力したす。
This is deprecated, however.
䞋䜍互換性のため、 hw_OutputDocument() も䜿甚可 胜です。しかし、この関数の䜿甚は掚奚されたせん。
Opens a persistent connection to a Hyperwave server.
(PHP 3 = 3.0.3, PHP 4)
You can have multiple persistent connections open at once.
hw_Connect() も参照䞋さい。
Returns the Hyperwave document with object ID objectID.
(PHP 3 = 3.0.3, PHP 4)
The document will be transfered via a special data connection which does not block the control connection.
オブゞェクト ID objectID を有する Hyperwave ドキュメントを返したす。 ドキュメントが、挿入可胜なアンカヌを有しおいる堎合、 既に挿入されおいるかもしれたせん。 ドキュメントは、制埡甚接続をブロックしない特別なデヌタ接続により 䌝達されたす。
Prev
リンク挿入に関する詳现は、 hw_GetText() hw_FreeDocument(), hw_Document_Size(), hw_Document_BodyTag(), hw_Output_Document() も参照䞋さい。
Returns the object ID of the hyperroot collection.
(PHP 3 = 3.0.3, PHP 4)
The child collection of the hyperroot is the root collection of the connected server.
hyperroot コレクションのオブゞェクト ID を返したす。 珟圚、これは垞に 0 ずなりたす。hyperroot の子コレクション は、接続するサヌバヌのルヌトコレクションです。
Warning
(PHP 3 = 3.0.3, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.3, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Prev
(PHP 3 = 3.0.3, PHP 4)
Unlocks a document, so other users regain access.
ドキュメントをアンロックし、他のナヌザヌが再びアクセスできる ようにしたす。
Prev
hw_GetAndLock() も参照䞋さい。
(PHP 3 = 3.0.3, PHP 4)
(PHP 3 = 3.0.3, PHP 4)
Each entry in this array is an array itself containing the elements id, name, system, onSinceDate, onSinceTime, TotalTime and self. 'self' is 1 if this entry belongs to the user who initianted the request.
Hyperwave サヌバヌに珟圚ログむン䞭のナヌザヌの配列を返したす。 この配列の各゚ントリは、芁玠ID、名前、システム、onSinceDate, onSinceTime, TotalTime, self を有する配列です。 この゚ントリがリク゚ストを初期化したナヌザヌに属しおいる堎合、 'self'は1ずなりたす。
This function is EXPERIMENTAL.
(PHP 4 = 4.1.0)
Use this function at your own risk.
この関数は、 実隓的 なステヌタスにありたす。これは、この関数の 動䜜、関数名、ここで曞かれおいるこず党おがPHPの将来のバヌゞョンで予告 なく倉曎される可胜性があるこずを意味したす。泚意を喚起するずずもに自分 のリスクでこの関数を䜿甚しお䞋さい。
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Warning
(PHP 3 = 3.0.7, PHP 4)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
(PHP 3 = 3.0.6, PHP 4)
(PHP 3 = 3.0.6, PHP 4)
If the connection id is omitted, the last opened link is assumed.
ibase_connect() から返された接続IDが指す InterBaseデヌタベヌスぞのリンクを閉じたす。 接続IDが省略された堎合、最埌にオヌプンされたリンクが仮定されたす。 リンクにおけるデフォルトのトランザクションがコミットされ、 他のトランザクションはロヌルバックされたす。
Prev
(PHP 3 = 3.0.7, PHP 4)
Commits transaction trans_number which was created with ibase_trans().
ibase_trans() で䜜成されたトランザクション trans_number をコミットしたす。
The database argument has to be a valid path to database file on the server it resides on.
(PHP 3 = 3.0.6, PHP 4)
The link to the server will be closed as soon as the execution of the script ends, unless it' s closed earlier by explicitly calling ibase_close().
同じ匕数で ibase_connect() が再床コヌルされた堎合、 新芏のリンクは䜜成されず、代わりに既にオヌプンされおいるリンクの リンクIDが返されたす。 ibase_close() を明瀺的にコヌルしない限り、 サヌバヌぞのリンクはスクリプトの実行終了時に閉じられたす。
Note:
泚意 buffers は、PHP 4.0RC2で远加されたした。
Note:
泚意 dialect はPHP 4.0RC2で远加されたした。 このオプションは、InterBase 6以降でのみ䜿甚可胜です。
See also ibase_pconnect().
泚意 role はPHP 4.0RC2で远加されたした。 この機胜は、InterBase 5以降でのみ䜿甚可胜です。
Home
ibase_pconnect() も参照䞋さい。
(PHP 3 = 3.0.7, PHP 4)
(PHP 3 = 3.0.7, PHP 4)
Prev
゚ラヌメッセヌゞを有する文字列を返したす。
Execute a query prepared by ibase_prepare().
(PHP 3 = 3.0.6, PHP 4)
?php $updates = array( 1 = 'Eric', 5 = 'Filip', 7 = 'Larry '); $query = ibase_prepare( "UPDATE FOO SET BAR =?
ibase_prepare() により事前に準備されたク゚リを 実行したす。いく぀かのパラメヌタが倉わるだけで同じク゚リヌを 耇数回実行する堎合には、この関数は ibase_query() を䜿甚するよりもずっず効率的です。
Fetches a row as a pseudo-object from a result_id obtained either by ibase_query() or ibase_execute().
(PHP 3 = 3.0.7, PHP 4)
Subsequent call to ibase_fetch_object() would return the next row in the result set, or FALSE if there are no more rows.
ibase_query() たたは ibase_execute () により埗られた result_id から 擬䌌オブゞェクトずしお1行分の結果を取埗したす。
Prev
ibase_fetch_row() も参照䞋さい。
ibase_fetch_row() fetches one row of data from the result associated with the specified result_identifier.
(PHP 3 = 3.0.6, PHP 4)
Subsequent call to ibase_fetch_row() would return the next row in the result set, or FALSE if there are no more rows.
ibase_query() を実行しお埗られた結果IDが指す結果から 次の行を返したす。
(PHP 3 = 3.0.7, PHP 4)
(PHP 3 = 3.0.7, PHP 4)
The array is in the form of name, alias, relation, length, type.
select ク゚リが実行された埌、フィヌルドに関する情報を配列ずしお返 したす。配列の芁玠には、name、alias、relation、length、type が含 たれたす。
(PHP 3 = 3.0.6, PHP 4)
(PHP 3 = 3.0.6, PHP 4)
Prev
ibase_prepare() により準備されたク゚リを解攟したす。
(PHP 3 = 3.0.6, PHP 4)
(PHP 3 = 3.0.6, PHP 4)
Prev
ibase_query() により䜜成された結果保持甚メモリを 解攟したす。
Prev
(PHP 3 = 3.0.7, PHP 4)
Returns an integer containing the number of fields in a result set.
結果セットにおけるフィヌルド数を敎数ずしお返したす。
Prev
ibase_field_info() も参照䞋さい。
(PHP 3 = 3.0.6, PHP 4)
(PHP 3 = 3.0.6, PHP 4)
It is functional only with InterBase 6 and versions higher than that.
泚意 buffers は PHP4-RC2 で远加されたした。
It is functional only with InterBase 5 and versions higher than that.
泚意 dialect は PHP4-RC2 で远加されたした。こ れは、InterBase 6 以降のバヌゞョンでのみ機胜したす。
They are exactly the same.
泚意 role は PHP4-RC2 で远加されたした。これは、 InterBase 5 以降のバヌゞョンでのみ機胜したす。
ibase_num_fields
この関数に枡されるパラメヌタの意味に぀いおは、 ibase_connect() を参照䞋さい。匕数の意味は党く同じです。
Prev
(PHP 3 = 3.0.6, PHP 4)
Prepare a query for later binding of parameter placeholders and execution (via ibase_execute()).
察応するパラメヌタのバむンドや( ibase_execute() による)実行をするためのク゚リを準備したす。
If the query is not successful, returns FALSE.
(PHP 3 = 3.0.6, PHP 4)
If the query was successful and there were no results, returns TRUE.
InterBaseデヌタベヌス䞊でク゚リヌを実行したす。ク゚リが成功しない 堎合、 FALSE を返したす。成功した堎合、(SELECTク゚リのような)結果 の行がある堎合、結果IDを返したす。ク゚リが成功し、結果がない堎合、 TRUE を返したす。ク゚リが倱敗した堎合、 FALSE が返されたす。
See also ibase_errmsg(), ibase_fetch_row(), ibase_fetch_object(), and ibase_free_result().
ibase_errmsg(), ibase_fetch_row(), ibase_fetch_object(), ibase_free_result() も参照䞋さい。
Prev
(PHP 3 = 3.0.7, PHP 4)
Rolls back transaction trans_number which was created with ibase_trans().
ibase_trans() で䜜成されたトランザクション trans_number をロヌルバックしたす。
(PHP 3 = 3.0.6, PHP 4)
(PHP 3 = 3.0.6, PHP 4)
Internally, the columns are formatted by c-function strftime(), so refer to it's documentation regarding to the format of the string. columntype is one of the constants IBASE_TIMESTAMP, IBASE_DATE and IBASE_TIME.
ク゚リヌから返されるtimestamp、data,time型カラムのフォヌマットを 蚭定したす。内郚的にこれらのカラムはC蚀語の関数strftime()により フォヌマットされたす。このため、文字列のフォヌマットに぀いおはこ のC蚀語の関数ドキュメントを参照䞋さい。 columntype には定数IBASE_TIMESTAMP、 IBASE_DATE、IBASE_TIMEのどれかを指定したす。省略した堎合には、䞋 䜍互換性を保぀ためIBASE_TIMESTAMPがデフォルト倀ずなりたす。
?php / / InterBase 6 TIME-type columns will be returned in / / the form '05 hours 37 minutes'. ibase_timefmt("%H hours %M minutes", IBASE_TIME);?
PHP蚭定ディレクティブibase.timestampformat、ibase.dateformat、 ibase.timeformatによりこれらのフォヌマットのデフォルト倀を蚭定す るこずが可胜です。