You are here

function translation_overview_field_name in Translation Overview 6.2

Determine the name of the field in the {translation_overview_priority} table for a language.

Parameters

$lang_code: String with a language code.

Return value

String with a properly escaped field name.

4 calls to translation_overview_field_name()
translation_overview_assignment_page in ./translation_overview.pages.inc
translation_overview_schema in ./translation_overview.install
Implementation of hook_schema().
translation_overview_schema_add_submit in ./translation_overview.module
Alter the schema when new languages are added.
translation_overview_update_6001 in ./translation_overview.install
Change the field names on the {translation_overview_priority} table.

File

./translation_overview.module, line 153

Code

function translation_overview_field_name($lang_code) {
  return 'lang_' . db_escape_table($lang_code);
}