/** * Will dump all created keys of the current localizer via log4j and returns an empty response. * * @return empty response */ public WOActionResults dumpCreatedKeysAction() { if (ERXApplication.isDevelopmentModeSafe()) { session(); ERXLocalizer.currentLocalizer().dumpCreatedKeys(); return new ERXResponse(); } return null; }
public ERXKeyValuePair<String, String> selectedElement() { String value = anOperator(); String choice = (String) ERXLocalizer.currentLocalizer().valueForKey(value); if (choice == null) { choice = value; } return new ERXKeyValuePair<>(value, choice); }
public NSArray<ERXKeyValuePair<String, String>> allQualifierOperators() { NSArray<String> operators = qualifierOperatorsOverrideFromRules() != null ? qualifierOperatorsOverrideFromRules() : _allQualifierOperators; int count = operators.count(); NSMutableArray<ERXKeyValuePair<String, String>> result = new NSMutableArray<ERXKeyValuePair<String, String>>(count); for (int i = 0; i < count; i++) { String currentOperatorString = operators.objectAtIndex(i); String value = (String) ERXLocalizer.currentLocalizer().valueForKey(currentOperatorString); if (value == null) { value = currentOperatorString; } result.addObject(new ERXKeyValuePair<>(currentOperatorString, value)); } return result; }
public String currentDisplayString() { return (String) ERXLocalizer.currentLocalizer().valueForKeyPath("ERD2WQueryOperator." + currentOperator); }