get_t

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 get_t()

Return the name of the localisation function. Use in code that needs to run both during installation and normal operation.

▾ 15 functions call get_t()

batch_process in includes/form.inc
Processes the batch.
batch_set in includes/form.inc
Opens a new batch.
db_check_setup in includes/database.pgsql.inc
Verify if the database is set up correctly.
db_status_report in includes/database.pgsql.inc
Report database status.
db_status_report in includes/database.mysqli.inc
Report database status.
db_status_report in includes/database.mysql.inc
Report database status.
hook_requirements in developer-docs/hooks/install.php
Check installation requirements and do status reporting.
menu_install in modules/menu/menu.install
Implementation of hook_install().
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
theme_form_element in includes/form.inc
Return a themed form element.
unicode_requirements in includes/unicode.inc
Return Unicode library status and errors.
_form_validate in includes/form.inc
Performs validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.
_locale_batch_build in includes/locale.inc
Build a locale batch from an array of files.
_locale_import_message in includes/locale.inc
Sets an error message occurred during locale file parsing.
_unicode_check in includes/unicode.inc
Perform checks about Unicode support in PHP, and set the right settings if needed.

Code

includes/bootstrap.inc, line 1225

<?php
function get_t() {
  static $t;
  if (is_null($t)) {
    $t = function_exists('install_main') ? 'st' : 't';
  }
  return $t;
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen