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ã«ãããããã®ãã©ãŒãããã®ããã©ã«ãå€ãèšå®ã ãããšãå¯èœã§ãã
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.