class views_display
- 3.x includes/view.inc views_display
- 2.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
- class \views_db_object
- class \views_display
Expanded class hierarchy of views_display
Related topics
6 string references to 'views_display'
- view.inc in includes/
view.inc - Provides the view object type and associated methods.
- views_schema_6000 in ./
views.install - Views 2's initial schema. Called directly by views_update_6000() for updates from Drupal 5.
- views_schema_6008 in ./
views.install - Add the primary key to views_display table.
- views_schema_6009 in ./
views.install - Enlarge the views_display.display_options field to accomodate a larger set of configurations (e. g. fields, filters, etc.) on a display.
- views_update_6008 in ./
views.install - Add the primary key to the views_display table.
File
- includes/
view.inc, line 2553 - Provides the view object type and associated methods.
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
Name | Modifiers | Type | Description |
---|---|---|---|
views_db_object:: |
public | property | |
views_db_object:: |
function | Add a new display handler to the view, automatically creating an id. | |
views_db_object:: |
function | Add an item with a handler to the view. | |
views_db_object:: |
function | Export a loaded row, such as an argument, field or the view itself to PHP code. | |
views_db_object:: |
function | Generate a display id of a certain plugin type. | |
views_db_object:: |
public static | function | Generates a unique ID for an item. |
views_db_object:: |
function | Get the configuration of an item (field/sort/filter/etc) on a given display. | |
views_db_object:: |
function | Get an array of items for the current display. | |
views_db_object:: |
function | Initialize this object, setting values from schema defaults. | |
views_db_object:: |
function | Load the object with a row from the database. | |
views_db_object:: |
function | Create a new display and a display handler for it. | |
views_db_object:: |
function | Write the row to the database. | |
views_db_object:: |
function | Set the configuration of an item (field/sort/filter/etc) on a given display. | |
views_db_object:: |
function | Set an option on an item. | |
views_display:: |
function | ||
views_display:: |
function |