function _qop in Advanced User 6.2
Same name and namespace in other branches
- 5.2 advuser_filters.inc \_qop()
Helper function for translating symbols to language
1 call to _qop()
- advuser_filter_form in ./
advuser_filters.inc - Return form for advuser administration filters.
File
- ./
advuser_filters.inc, line 192 - Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.
Code
function _qop($qop) {
static $_qop = NULL;
if (!isset($_qop)) {
$_qop = array(
'=' => t('is equal to'),
'!=' => t('is not equal to'),
'<' => t('is less than'),
'>' => t('is greater than'),
'<=' => t('is less than or equal to'),
'>=' => t('is greater than or equal to'),
'LIKE' => t('contains'),
'NOT LIKE' => t('does not contain'),
'BEGINS WITH' => t('begins with'),
'ENDS WITH' => t('ends with'),
);
}
return isset($_qop[$qop]) ? $_qop[$qop] : $qop;
}