function i18n_array_variable_get in Internationalization 6
Utility. Get part of array variable.
Related topics
File
- ./
i18n.module, line 944 - Internationalization (i18n) module.
Code
function i18n_array_variable_get($name, $element, $default = NULL) {
if (($values = variable_get($name, array())) && isset($values[$element])) {
return $values[$element];
}
else {
return $default;
}
}