You are here

class views_display in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/view.inc \views_display
  2. 7.3 includes/view.inc \views_display

A display type in a view.

This is just the database storage mechanism, and isn't terribly important to the behavior of the display at all.

Hierarchy

Expanded class hierarchy of views_display

Related topics

2 string references to 'views_display'
views_update_6008 in ./views.install
Add the primary key to the views_display table.
views_update_6009 in ./views.install

File

includes/view.inc, line 2056
view.inc Provides the view object type and associated methods.

View source
class views_display extends views_db_object {
  var $db_table = 'views_display';
  function views_display($init = TRUE) {
    parent::init($init);
  }
  function options($type, $id, $title) {
    $this->display_plugin = $type;
    $this->id = $id;
    $this->display_title = $title;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
views_db_object::add_display function Add a new display handler to the view, automatically creating an id.
views_db_object::add_item function Add an item with a handler to the view.
views_db_object::export_row function Export a loaded row, such as an argument, field or the view itself to PHP code.
views_db_object::generate_display_id function Generate a display id of a certain plugin type.
views_db_object::get_item function Get the configuration of an item (field/sort/filter/etc) on a given display.
views_db_object::get_items function Get an array of items for the current display.
views_db_object::init function Initialize this object, setting values from schema defaults.
views_db_object::load_row function Load the object with a row from the database.
views_db_object::new_display function Create a new display and a display handler for it.
views_db_object::save_row function Write the row to the database.
views_db_object::set_item function Get the configuration of an item (field/sort/filter/etc) on a given display.
views_db_object::set_item_option function Set an option on an item.
views_display::$db_table property
views_display::options function
views_display::views_display function