function views_plugin_argument_validate::init in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 plugins/views_plugin_argument_validate.inc \views_plugin_argument_validate::init()
- 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.
File
- plugins/
views_plugin_argument_validate.inc, line 27 - Contains the base argument validator plugin.
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);
}