function views_plugin_argument_validate::init
3.x views_plugin_argument_validate.inc | views_plugin_argument_validate::init(&$view, &$argument, |
2.x views_plugin_argument_validate.inc | views_plugin_argument_validate::init(&$view, &$argument, $id = NULL) |
Initialize this plugin with the view and the argument it is linked to.
1 call to views_plugin_argument_validate::init()
- views_plugin_argument_validate_taxonomy_term::init in modules/
taxonomy/ views_plugin_argument_validate_taxonomy_term.inc - Initialize this plugin with the view and the argument it is linked to.
1 method overrides views_plugin_argument_validate::init()
- views_plugin_argument_validate_taxonomy_term::init in modules/
taxonomy/ views_plugin_argument_validate_taxonomy_term.inc - Initialize this plugin with the view and the argument it is linked to.
File
- plugins/
views_plugin_argument_validate.inc, line 25 - 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);
}