function views_plugin_argument_validate::init

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_argument_validate.inc \views_plugin_argument_validate::init()

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

File

plugins/views_plugin_argument_validate.inc, line 27

Class

views_plugin_argument_validate
Base argument validator plugin to provide basic functionality.

Code

function init(&$view, &$argument, $options) {
    $this->view =& $view;
    $this->argument =& $argument;
    $this->convert_options($options);
    $this->unpack_options($this->options, $options);
}