function views_handler_argument_string::init
Overrides views_handler_argument::init
1 call to views_handler_argument_string::init()
- views_handler_argument_field_list_string::init in modules/
field/ views_handler_argument_field_list_string.inc - Init the handler with necessary data.
1 method overrides views_handler_argument_string::init()
- views_handler_argument_field_list_string::init in modules/
field/ views_handler_argument_field_list_string.inc - Init the handler with necessary data.
File
-
handlers/
views_handler_argument_string.inc, line 18
Class
- views_handler_argument_string
- Argument handler to implement string arguments that may have length limits.
Code
public function init(&$view, &$options) {
parent::init($view, $options);
if (!empty($this->definition['many to one'])) {
$this->helper = new views_many_to_one_helper($this);
// Ensure defaults for these, during summaries and stuff.
$this->operator = 'or';
$this->value = array();
}
}