function views_plugin_argument_default::init
3.x views_plugin_argument_default.inc | views_plugin_argument_default::init(&$view, &$argument, |
2.x views_plugin_argument_default.inc | views_plugin_argument_default::init(&$view, &$argument, $id = NULL) |
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;
}