You are here

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

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

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

Overrides views_plugin::init

File

plugins/views_plugin_argument_validate.inc, line 28
Contains the base argument validator plugin.

Class

views_plugin_argument_validate
Base argument validator plugin to provide basic functionality.

Code

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