1.20.x view.inc view::init_handlers()

Acquire and attach all of the handlers.

File

modules/views/includes/view.inc, line 705
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 init_handlers() {
  if (empty($this->inited)) {
    $this->fix_missing_relationships();
    foreach (views_object_types() as $key => $info) {
      $this->_init_handler($key, $info);
    }
    $this->inited = TRUE;
  }
}