function views_handler_argument_many_to_one::init
Same name in other branches
- 7.x-3.x handlers/views_handler_argument_many_to_one.inc \views_handler_argument_many_to_one::init()
Overrides views_handler_argument::init
File
-
handlers/
views_handler_argument_many_to_one.inc, line 16
Class
- views_handler_argument_many_to_one
- An argument handler for use in fields that have a many to one relationship with the table(s) to the left. This adds a bunch of options that are reasonably common with this type of relationship. Definition terms:
Code
function init(&$view, $options) {
parent::init($view, $options);
$this->helper = new views_many_to_one_helper($this);
// Ensure defaults for these, during summaries and stuff:
$this->operator = 'or';
$this->value = array();
}