function views_plugin_display::get_handler
Same name in other branches
- 6.x-3.x 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 1002
Class
- views_plugin_display
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Code
public 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;
}