function imagepicker_views_handler_filter_group_id::operators in Image Picker 7
This kind of construct makes it relatively easy for a child class to add or remove functionality by overriding this function and adding/removing items from this array.
Overrides views_handler_filter_string::operators
File
- handlers/
imagepicker_views_handler_filter_group_id.inc, line 18 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Class
- imagepicker_views_handler_filter_group_id
- @file @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function operators() {
$operators = parent::operators();
unset($operators['regular_expression']);
unset($operators['not empty']);
unset($operators['empty']);
unset($operators['longerthan']);
unset($operators['shorterthan']);
unset($operators['not']);
unset($operators['not_ends']);
unset($operators['ends']);
unset($operators['not_starts']);
unset($operators['starts']);
unset($operators['allwords']);
unset($operators['word']);
unset($operators['contains']);
unset($operators['!=']);
return $operators;
}