function views_plugin_display::get_option
Intelligently get an option either from this or default display.
38 calls to views_plugin_display::get_option()
- views_plugin_display::accept_attachments in plugins/
views_plugin_display.inc - Can this display accept attachments?
- views_plugin_display::export_style in plugins/
views_plugin_display.inc - Special handling for the style export.
- views_plugin_display::get_handlers in plugins/
views_plugin_display.inc - Get a full array of handlers for $type. This caches them.
- views_plugin_display::get_link_display in plugins/
views_plugin_display.inc - Check to see which display to use when creating links.
- views_plugin_display::get_path in plugins/
views_plugin_display.inc - Return the base path to use for this display.
File
-
plugins/
views_plugin_display.inc, line 915
Class
- views_plugin_display
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Code
public function get_option($option) {
if ($this->is_defaulted($option)) {
return $this->default_display
->get_option($option);
}
if (isset($this->options[$option]) || array_key_exists($option, $this->options)) {
return $this->options[$option];
}
}