Gets table alias for field.
string $field: Field name to find the table alias for.
string Either 's', 't' or 'l' depending on whether the field belongs to source, target or location table table.
protected function dbFieldTable($field) {
if (in_array($field, array(
'language',
'translation',
'customized',
))) {
return 't';
}
elseif (in_array($field, array(
'type',
'name',
))) {
return 'l';
}
else {
return 's';
}
}