class views_display

Same name in other branches
  1. 7.x-3.x 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 2366

View source
class views_display extends views_db_object {
    
    /**
     * The display handler itself, which has all the methods.
     *
     * @var views_plugin_display
     */
    var $handler;
    
    /**
     * Stores all options of the display, like fields, filters etc.
     *
     * @var array
     */
    var $display_options;
    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

Title Sort descending Modifiers Object type Summary
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::$display_options property Stores all options of the display, like fields, filters etc.
views_display::$handler property The display handler itself, which has all the methods.
views_display::options function
views_display::views_display function