class 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
- class \views_db_object
- class \views_display extends \views_db_object
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 2635
View source
class views_display extends views_db_object {
/**
* The display handler itself, which has all the methods.
*
* @var views_plugin_display
*/
public $handler;
/**
* Stores all options of the display, like fields, filters etc.
*
* @var array
*/
public $display_options;
public $db_table = 'views_display';
public function __construct($init = TRUE) {
parent::init($init);
}
/**
* {@inheritdoc}
*/
public function options($type, $id, $title) {
$this->display_plugin = $type;
$this->id = $id;
$this->display_title = $title;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
views_db_object::add_display | public | function | Add a new display handler to the view, automatically creating an id. | |
views_db_object::add_item | public | function | Add an item with a handler to the view. | |
views_db_object::export_row | public | function | Export a loaded row. | |
views_db_object::generate_display_id | public | function | Generate a display id of a certain plugin type. | |
views_db_object::generate_item_id | public static | function | Generates a unique ID for an item. | |
views_db_object::get_item | public | function | Get the config of an item (field/sort/filter/etc) on a given display. | |
views_db_object::get_items | public | function | Get an array of items for the current display. | |
views_db_object::init | public | function | Initialize this object, setting values from schema defaults. | |
views_db_object::load_row | public | function | Load the object with a row from the database. | |
views_db_object::new_display | public | function | Create a new display and a display handler for it. | |
views_db_object::save_row | public | function | Write the row to the database. | |
views_db_object::set_item | public | function | Set the config of an item (field/sort/filter/etc) on a given display. | |
views_db_object::set_item_option | public | function | Set an option on an item. | |
views_display::$db_table | public | property | Overrides views_db_object::$db_table | |
views_display::$display_options | public | property | Stores all options of the display, like fields, filters etc. | |
views_display::$handler | public | property | The display handler itself, which has all the methods. | |
views_display::options | public | function | ||
views_display::__construct | public | function |