PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

hw_GetObjectByQuery

(PHP 4)

hw_GetObjectByQuerySearch object

Description

array hw_getobjectbyquery ( int $connection , string $query , int $max_hits )

Searches for objects on the whole server and returns an array of object ids.

Parameters

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.

Return Values

Returns an array of object ids.

See Also

PHP Manual