function link_views_handler_filter_protocol::operators in Link 6.2
Same name and namespace in other branches
- 6 views/link_views_handler_filter_protocol.inc \link_views_handler_filter_protocol::operators()
- 7 views/link_views_handler_filter_protocol.inc \link_views_handler_filter_protocol::operators()
Define the operators supported for protocols.
File
- views/
link_views_handler_filter_protocol.inc, line 27 - Contains filter handlers for protocol filters with views.
Class
- link_views_handler_filter_protocol
- Filter handler for limiting a view to URLs of a certain protocol.
Code
function operators() {
$operators = array(
'OR' => array(
'title' => t('Is one of'),
'short' => t('='),
'method' => 'op_protocol',
'values' => 1,
),
);
return $operators;
}