(PHP 4)
hw_GetObjectByQueryCollObj — Search object in collection
$connection
   , int $objectID
   , string $query
   , int $max_hits
   )
   Searches for objects in collection with ID objectID
   and returns an array of object records.
  
connectionThe connection identifier.
objectIDThe collection id.
queryThe 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.
      
Returns an array of object records.