function views_plugin_display::construct in Views (for Drupal 7) 6.3
Views handlers use a special construct function so that we can more easily construct them with variable arguments.
Overrides views_object::construct
File
- plugins/
views_plugin_display.inc, line 189 - Contains the base display plugin.
Class
- views_plugin_display
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Code
function construct() {
// Load extenders as soon as possible
$this->extender = array();
foreach (array_filter(variable_get('views_display_extenders', array())) as $extender) {
$data = views_fetch_plugin_data('display_extender', $extender);
views_include_handler($data['handler'], $data, 'display_extender');
$this->extender[$extender] = new $data['handler']($this->view, $this);
}
parent::construct();
}