hw_GetObjectByQuery()
hw_GetObjectByQuery - Search object
Syntax
array hw_GetObjectByQuery (
int $connection,
string $query,
int $max_hits)
Arguments
- connection - The connection identifier.
- query - The query will only work with indexed attributes.
- max_hits - The maximum number of matches is limited to max_hits. If max_hits is set to -1 the maximum number of matches is unlimited.
Description
Searches for objects on the whole server and returns an array of object ids.
Version
PHP 4
Return value
Returns an array of object ids.