aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 1660d6e4e..0efc9c364 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -725,7 +725,7 @@ function get_entity($guid) {
*
* 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
@@ -763,7 +763,7 @@ function elgg_get_entities(array $options = array()) {
'wheres' => array(),
'joins' => array(),
- 'row_callback' => 'entity_row_to_elggstar',
+ 'callback' => 'entity_row_to_elggstar',
);
$options = array_merge($defaults, $options);
@@ -874,7 +874,7 @@ function elgg_get_entities(array $options = array()) {
$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);