summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2011-06-15 08:48:04 (GMT)
committer Daniel Wehner2011-06-15 08:48:18 (GMT)
commit6f98188076320be03994698e912ed3ca6aaa9357 (patch)
tree95729a8b039f7af97e29b6088395cb35bd52232f
parent32d22a5766a2a978edca4a0a03a721850d9512c3 (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 62f0155..a0bc197 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) { }