function views_plugin_query::execute
3.x views_plugin_query.inc | views_plugin_query::execute(&$view) |
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. The array must use a numeric index starting at 0.
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 74 - Defines the base query class, which is the underlying layer in a View.
Class
- views_plugin_query
- Object used to create a SELECT query.
Code
function execute(&$view) {
}