You are here

function view::db_objects in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 includes/view.inc \view::db_objects()
  2. 7.3 includes/view.inc \view::db_objects()

Returns the complete list of dependent objects in a view, for the purpose of initialization and loading/saving to/from the database.

Note: In PHP5 this should be static, but PHP4 doesn't support static methods.

4 calls to view::db_objects()
view::delete in includes/view.inc
Delete the view from the database.
view::load_views in includes/view.inc
Static factory method to load a list of views based upon a $where clause.
view::save in includes/view.inc
Save the view to the database. If the view does not already exist, A vid will be assigned to the view and also returned from this function.
view::__construct in includes/view.inc
Constructor

File

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

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Code

function db_objects() {
  return array(
    'display',
  );
}