HW_GETOBJECTBYQUERY(3) 1 HW_GETOBJECTBYQUERY(3)
hw_GetObjectByQuery - Search object
SYNOPSIS
array hw_getobjectbyquery (int $connection, string $query, int $max_hits)
DESCRIPTION
Searches for objects on the whole server and returns an array of object ids.
PARAMETERS
o $connection
- The connection identifier.
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_getobjectbyqueryobj(3).
PHP Documentation Group HW_GETOBJECTBYQUERY(3)