function view::db_objects
3.x view.inc | static view::db_objects() |
2.x 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::view in includes/
view.inc - Constructor
File
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');
}