HW_GETOBJECTBYQUERYCOLL(3) 1 HW_GETOBJECTBYQUERYCOLL(3)
hw_GetObjectByQueryColl - Search object in collection
SYNOPSIS
array hw_getobjectbyquerycoll (int $connection, int $objectID, string $query, int $max_hits)
DESCRIPTION
Searches for objects in collection with ID $objectID and returns an array of object ids.
PARAMETERS
o $connection
- The connection identifier.
o $objectID
- The collection id.
o $query
- The query will only work with indexed attributes.
o $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.
RETURN VALUES
Returns an array of object ids.
SEE ALSO
hw_getobjectbyquerycollobj(3).
PHP Documentation Group HW_GETOBJECTBYQUERYCOLL(3)