You are here

function views_plugin::init in Views (for Drupal 7) 6.2

Init will be called after construct, when the plugin is attached to a view and a display.

7 methods override views_plugin::init()
views_plugin_access::init in plugins/views_plugin_access.inc
Initialize the plugin.
views_plugin_argument_default::init in plugins/views_plugin_argument_default.inc
Initialize this plugin with the view and the argument it is linked to.
views_plugin_argument_validate::init in plugins/views_plugin_argument_validate.inc
Initialize this plugin with the view and the argument it is linked to.
views_plugin_cache::init in plugins/views_plugin_cache.inc
Initialize the plugin.
views_plugin_display::init in plugins/views_plugin_display.inc
Init will be called after construct, when the plugin is attached to a view and a display.

... See full list

File

includes/plugins.inc, line 353
plugins.inc Built in plugins for Views output handling.

Class

views_plugin
Abstract base class to provide interface common to all plugins.

Code

function init(&$view, &$display) {
  $this->view =& $view;
  $this->display =& $display;
}