protected static function VariableRealmUnionController::buildUnionKey in Variable 7.2
Build key from union realm keys.
3 calls to VariableRealmUnionController::buildUnionKey()
- VariableRealmUnionController::getAllKeys in variable_realm/
variable_realm_union.class.inc - Implementation of VariableRealmControllerInterface::getAllKeys().
- VariableRealmUnionController::getDefaultKey in variable_realm/
variable_realm_union.class.inc - Implementation of VariableRealmControllerInterface::getDefaultKey().
- VariableRealmUnionController::getRequestKey in variable_realm/
variable_realm_union.class.inc - Implementation of VariableRealmControllerInterface::getRequestKey().
File
- variable_realm/
variable_realm_union.class.inc, line 138 - Classes for Realm Union.
Class
- VariableRealmUnionController
- Default Realm Union class
Code
protected static function buildUnionKey($keys) {
if (in_array(FALSE, $keys, TRUE)) {
return FALSE;
}
else {
// Make sure values are in correct order
ksort($keys);
// implode values
return implode(':', $keys);
}
}