1 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.

File

core/modules/views/plugins/views_plugin_query.inc, line 73
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) {
}