function 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. 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 81

Class

views_plugin_query
The base query class, which is the underlying layer in a View.

Code

public function execute(&$view) {
}