function view::db_objects
Same name in other branches
- 7.x-3.x 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
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',
);
}