function views_plugin_query::set_limit

Set a LIMIT on the query, specifying a maximum number of results.

File

plugins/views_plugin_query.inc, line 133

Class

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

Code

public function set_limit($limit) {
    $this->limit = $limit;
}