Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: hw_GetObject - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<hw_GetChildDocCollObjhw_GetObjectByQuery" width="11" height="7"/>
view the version of this page
Last updated: Sat, 06 May 2006

hw_GetObject

(PHP 3 >= 3.0.3, PHP 4, PECL)

hw_GetObject -- オブジェクトレコード

説明

mixed hw_getobject ( int connection, mixed objectID [, string query] )

二番目のパラメータが整数(スカラー)の場合、ID objectID を有するオブジェクトの オブジェクトレコードを返します。 二番目のパラメータが整数の配列の場合、関数はオブジェクトレコードの 配列を返します。このような場合、最後のパラメータであるクエリー文字列も 評価されます。

クエリー文字列は次の構文を有しています。

<expr> ::= "(" <expr> ")" |

"!" <expr> | /* NOT */

<expr> "||" <expr> | /* OR */

<expr> "&&" <expr> | /* AND */

<attribute> <operator> <value>

<attribute> ::= /* 属性の名前 (Title, Author, DocumentType ...) */

<operator> ::= "=" | /* 等しい */

"<" | /* より小さい (文字列比較) */

">" | /* より大きい (文字列比較) */

"~" /* 正規表現によるマッチング */

クエリーにより指定したオブジェクトのリストアら特定のオブジェクトを 選択することが可能となります。 他の関数とは異なり、このクエリーはインデックス付きの属性を使用しません。 返されるオブジェクトレコードの数は、クエリーおよび オブジェクトにアクセス可能であるかどうかに依存します。

hw_getandlock() および hw_getobjectbyquery() も参照ください。



add a note add a note User Contributed Notes
hw_GetObject
oswald at videofreak dot at
26-Jan-2002 01:31
There is a problem with the ObcectIds as used in Hyperwave ( like 0x232123).The automatic type conversion makes a variable like this a string, and you get nothin. Even the explicit conversion (like intval (0x232123)) leads to nonsense: You need to convert a hyperwave hexdec-Oid as follows:
 intval(hexdec(Oid));
then you get results :-)

<hw_GetChildDocCollObjhw_GetObjectByQuery" width="11" height="7"/>
 Last updated: Sat, 06 May 2006
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2006 The PHP Group
All rights reserved.
This mirror generously provided by: PacketBusiness, Inc.
Last updated: Tue Sep 5 02:24:18 2006 JST