function views_handler_argument_many_to_one::init

Overrides views_handler_argument::init

File

handlers/views_handler_argument_many_to_one.inc, line 29

Class

views_handler_argument_many_to_one
Argument handler for fields that have many-to-one table relationships.

Code

public 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();
}