You are here

function _taxonomy_manager_term_get_lang in Taxonomy Manager 6.2

Same name and namespace in other branches
  1. 7 taxonomy_manager.module \_taxonomy_manager_term_get_lang()

returns language of a term (multilingual voc), if i18ntaxonomy enabled

4 calls to _taxonomy_manager_term_get_lang()
taxonomy_manager_check_language in ./taxonomy_manager.admin.inc
checks if terms in move or merge operation are of the same language
taxonomy_manager_double_tree_form in ./taxonomy_manager.admin.inc
taxonomy_manager_form in ./taxonomy_manager.admin.inc
defines forms for taxonomy manager interface
taxonomy_manager_tree_build_child_form in ./taxonomy_manager.module
callback for generating and rendering nested child forms (AHAH)

File

./taxonomy_manager.module, line 990
Taxonomy Manager

Code

function _taxonomy_manager_term_get_lang($tid) {
  if (module_exists('i18ntaxonomy')) {
    return db_result(db_query("SELECT language FROM {term_data} WHERE tid = %d", $tid));
  }
  return "";
}