function views_plugin_display::get_handler in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 plugins/views_plugin_display.inc \views_plugin_display::get_handler()
- 7.3 plugins/views_plugin_display.inc \views_plugin_display::get_handler()
Get the handler object for a single handler.
File
- plugins/
views_plugin_display.inc, line 551 - 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 &get_handler($type, $id) {
if (!isset($this->handlers[$type])) {
$this
->get_handlers($type);
}
if (isset($this->handlers[$type][$id])) {
return $this->handlers[$type][$id];
}
// So we can return a reference.
$null = NULL;
return $null;
}