You are here

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

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_argument_default.inc \views_plugin_argument_default::init()
  2. 7.3 plugins/views_plugin_argument_default.inc \views_plugin_argument_default::init()

Initialize this plugin with the view and the argument it is linked to.

Overrides views_plugin::init

File

plugins/views_plugin_argument_default.inc, line 26
Contains the fixed argument default plugin.

Class

views_plugin_argument_default
The fixed argument default handler; also used as the base.

Code

function init(&$view, &$argument, $id = NULL) {
  $this->view =& $view;
  $this->argument =& $argument;
  $this->id = $id;
}