function lingotek_get_all_column_names in Lingotek Translation 7.7
1 call to lingotek_get_all_column_names()
- lingotek_admin_field_settings_form in ./
lingotek.admin.inc - Field Types and Settings Form
File
- ./
lingotek.admin.inc, line 3118
Code
function lingotek_get_all_column_names($fields) {
// return a list of all column names along with the fields that use them.
$column_names = array();
foreach ($fields as $field_name => $field) {
if (empty($field['columns'])) {
continue;
}
foreach (array_keys($field['columns']) as $col) {
if (!isset($column_names[$col])) {
$column_names[$col] = array();
}
$column_names[$col][] = $field_name;
}
}
return $column_names;
}