You are here

function views_plugin_display::get_option in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_display.inc \views_plugin_display::get_option()
  2. 7.3 plugins/views_plugin_display.inc \views_plugin_display::get_option()

Intelligently get an option either from this display or from the default display, if directed to do so.

38 calls to views_plugin_display::get_option()
views_plugin_display::get_access_plugin in plugins/views_plugin_display.inc
Get the access plugin
views_plugin_display::get_cache_plugin in plugins/views_plugin_display.inc
Get the cache plugin
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.

... See full list

File

plugins/views_plugin_display.inc, line 480
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];
  }
}