class views_php_plugin_query in Views PHP 7.2
Same name and namespace in other branches
- 7 plugins/views/views_php_plugin_query.inc \views_php_plugin_query
A (fake) pager plugin that wraps around the actual query.
Hierarchy
- class \views_php_plugin_wrapper
- class \views_php_plugin_query
Expanded class hierarchy of views_php_plugin_query
File
- plugins/
views/ views_php_plugin_query.inc, line 8
View source
class views_php_plugin_query extends views_php_plugin_wrapper {
/**
* Implements views_plugin_query#execute().
*/
function execute(&$view) {
$pager = new views_php_plugin_pager();
$pager
->php_wrap($this->wrapped->pager);
$this->wrapped
->execute($view);
// We cannot unwrap here because we need to run the pre_render functions.
// See: views_php_plugin_pager::pre_render()
//$pager->php_unwrap();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
views_php_plugin_query:: |
function | Implements views_plugin_query#execute(). | ||
views_php_plugin_wrapper:: |
protected | property | ||
views_php_plugin_wrapper:: |
protected | property | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public static | function | As of PHP 5.3.0 | |
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function |