*
* joins => array() Additional joins
*
- * row_callback => string A callback function to pass each row through
+ * callback => string A callback function to pass each row through
*
* @return mixed int if count is true, an array of entity objects, or false on failure
* @since 1.7.0
'wheres' => array(),
'joins' => array(),
- 'row_callback' => 'entity_row_to_elggstar',
+ 'callback' => 'entity_row_to_elggstar',
);
$options = array_merge($defaults, $options);
$query .= " LIMIT $offset, $limit";
}
- $dt = get_data($query, $options['row_callback']);
+ $dt = get_data($query, $options['callback']);
return $dt;
} else {
$total = get_data_row($query);