You are here

public function views_plugin_query::query in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_query.inc \views_plugin_query::query()

Generate a query and a countquery from all of the information supplied to the object.

Parameters

bool $get_count: Provide a countquery if this is TRUE, otherwise provide a normal query.

Return value

SelectQuery A SelectQuery object.

Overrides views_plugin::query

1 method overrides views_plugin_query::query()
views_plugin_query_default::query in plugins/views_plugin_query_default.inc
Generate a query and a countquery from all of the information supplied to the object.

File

plugins/views_plugin_query.inc, line 47
Definition of views_plugin_query.

Class

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

Code

public function query($get_count = FALSE) {
}