You are here

function _taxonomy_title_get in Taxonomy Title 6

Retrieves the term title.

Parameters

$tid: The taxonomy term id of the term to delete.

Return value

The taxonomy term title for the term.

3 calls to _taxonomy_title_get()
taxonomy_title_form_taxonomy_form_term_alter in ./taxonomy_title.module
Implementation of hook_form_FORM_ID_alter().
taxonomy_title_preprocess_page in ./taxonomy_title.module
Implementation of hook_preprocess_page().
taxonomy_title_token_values in ./taxonomy_title.module
Implementation of hook_token_values().

File

./taxonomy_title.module, line 136
Enhanced control over the heading tag for the taxonomy term list pages.

Code

function _taxonomy_title_get($tid) {
  $title = db_result(db_query("SELECT title FROM {taxonomy_title} WHERE tid = %d", $tid));
  return taxonomy_title_tt("taxonomy_title:term:{$tid}:title", $title);
}