(PHP 4)
hw_GetObject — Object record
Gets an object record. If the second parameter is an array of integer the function will
The connection identifier.
The object identifier, or an array of identifiers.
The query string has the following syntax:
<expr> ::= "(" <expr> ")" | "!" <expr> | /* NOT */ <expr> "||" <expr> | /* OR */ <expr> "&&" <expr> | /* AND */ <attribute> <operator> <value> <attribute> ::= /* any attribute name (Title, Author, DocumentType ...) */ <operator> ::= "=" | /* equal */ "<" | /* less than (string compare) */ ">" | /* greater than (string compare) */ "~" /* regular expression matching */
Returns the object record for the given object ID if the second parameter is an integer.
If the second parameter is an array of integer the function will return an array of object records. In such a case the last parameter is also evaluated which is a query string.
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 :-)