function views_plugin_query::execute
Same name in other branches
- 7.x-3.x plugins/views_plugin_query.inc \views_plugin_query::execute()
Executes the query and fills the associated view object with according values.
Values to set: $view->result, $view->total_rows, $view->execute_time, $view->pager['current_page'].
$view->result should contain an array of objects.
Parameters
view $view: The view which is executed.
1 method overrides views_plugin_query::execute()
- views_plugin_query_default::execute in plugins/
views_plugin_query_default.inc - Executes the query and fills the associated view object with according values.
File
-
plugins/
views_plugin_query.inc, line 62
Class
- views_plugin_query
- Object used to create a SELECT query.
Code
function execute(&$view) {
}