IMuModuleFetchResult

require_once IMu::$lib . '/Module.php'

Since: 1.0

Description

Provides results from a call to the IMuModule fetch( ) method.

Properties

Property

Details

$count

The number of records returned in the result set.

Type:

int

$hits

The best estimate of the size of the result set after the fetch method has completed.

When the Module object generates a result set using findTerms( ) or findWhere( ), the number of matches is occasionally an overestimate of the true number of matches.

After the fetch( ) method has been called, the IMu server may have a better estimate of the true number of matches so it is included in the result set.

Type:

int

$rows

The array of the records actually fetched.

Each record is represented by an associative array with the keys being the names of the columns requested in the fetch( ) call.

Type:

array