summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2011-06-15 08:48:04 (GMT)
committer Daniel Wehner2011-06-15 08:48:04 (GMT)
commit13e94bc340291c96246ee80afb584e9c6a0fed53 (patch)
tree6a5d8e3a821bf212a8001823bd89975ccabd2401
parent4e8f216ab0ab4abdf07561ba0b6c9d7412a6e98a (diff)
Add a recommendation for query backends to return objects so general entity_row plugins can expect this
-rw-r--r--plugins/views_plugin_query.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/views_plugin_query.inc b/plugins/views_plugin_query.inc
index 66680ec..0d71c14 100644
--- a/plugins/views_plugin_query.inc
+++ b/plugins/views_plugin_query.inc
@@ -47,6 +47,8 @@ class views_plugin_query extends views_plugin {
*
* Values to set: $view->result, $view->total_rows, $view->execute_time,
* $view->pager['current_page'].
+ *
+ * $view->result should contain an array of objects.
*/
function execute(&$view) { }