function get_t
Same name and namespace in other branches
Return the name of the localisation function. Use in code that needs to run both during installation and normal operation.
15 calls to get_t()
- batch_process in drupal-6.x/
includes/ form.inc - Processes the batch.
- batch_set in drupal-6.x/
includes/ form.inc - Opens a new batch.
- db_check_setup in drupal-6.x/
includes/ database.pgsql.inc - Verify if the database is set up correctly.
- db_status_report in drupal-6.x/
includes/ database.mysqli.inc - Report database status.
- db_status_report in drupal-6.x/
includes/ database.mysql.inc - Report database status.
Archivo
- drupal-6.x/
includes/ bootstrap.inc, line 1228 - Functions that need to be loaded on every Drupal request.
Código
function get_t() {
static $t;
if (is_null($t)) {
$t = function_exists('install_main') ? 'st' : 't';
}
return $t;
}