hw_GetObject
(PHP 4)
hw_GetObject — Object record
Description
Gets an object record. If the second parameter is an array of integer the function will
Parameters
- connection
- 
      The connection identifier. 
- objectID
- 
      The object identifier, or an array of identifiers. 
- query
- 
      The query string has the following syntax: The query allows to further select certain objects from the list of given objects. Unlike the other query functions, this query may use not indexed attributes. How many object records are returned depends on the query and if access to the object is allowed.<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 */
Return Values
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.
See Also
- hw_getandlock() - Return object record and lock object
- hw_getobjectbyquery() - Search object