function views_plugin_display::get_option
3.x views_plugin_display.inc | views_plugin_display::get_option($option) |
2.x views_plugin_display.inc | views_plugin_display::get_option($option) |
Intelligently get an option either from this display or from the default display, if directed to do so.
37 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 within a view using this display.
- 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 818 - 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_option($option) {
if ($this->is_defaulted($option)) {
return $this->default_display->get_option($option);
}
if (array_key_exists($option, $this->options)) {
return $this->options[$option];
}
}