function view::init_handlers in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 includes/view.inc \view::init_handlers()
- 7.3 includes/view.inc \view::init_handlers()
Acquire and attach all of the handlers.
2 calls to view::init_handlers()
- view::build in includes/
view.inc - Build the query for the view.
- view::build_title in includes/
view.inc - Force the view to build a title.
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 init_handlers() {
if (empty($this->inited)) {
foreach (views_object_types() as $key => $info) {
$this
->_init_handler($key, $info);
}
$this->inited = TRUE;
}
}