function notifications_views_handler_filter_perm::operators in Notifications 6.2
File
- notifications_views/
notifications_views_handler_filter_perm.inc, line 14
Class
- notifications_views_handler_filter_perm
- Filter for permissions of a user, probably not all that reliable, use with caution.
Code
function operators() {
$operators = array(
'like' => array(
'title' => t('Has permission'),
'short' => t('has'),
'short_single' => t('='),
'method' => 'op_like',
'values' => 1,
),
'not like' => array(
'title' => t('Does not have permission'),
'short' => t('lacks'),
'short_single' => t('<>'),
'method' => 'op_like',
'values' => 1,
),
);
return $operators;
}