diff options
author | Urban Müller | 2007-09-30 19:33:32 +0000 |
---|---|---|
committer | Urban Müller | 2007-09-30 19:33:32 +0000 |
commit | 52bd3236b60c12d3e164b22355d9a48b9aa69417 (patch) | |
tree | 81eccf09f6d7796a72cea0bfe1143c2c282be5b1 /it_text.class | |
parent | 0cc945636e6c8c1a967578086696ada2caad4494 (diff) | |
download | itools-52bd3236b60c12d3e164b22355d9a48b9aa69417.tar.gz itools-52bd3236b60c12d3e164b22355d9a48b9aa69417.tar.bz2 itools-52bd3236b60c12d3e164b22355d9a48b9aa69417.zip |
moved docs to global funcs
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/it_text.class b/it_text.class index ab9f3ad..1a4d54f 100644 --- a/it_text.class +++ b/it_text.class @@ -92,11 +92,7 @@ function init() /** - * INTERNAL function for T(): Return a text in the selected language. - * @param $label Label of text to return - * @param $raw Optional unused obsolete parameter - * @param $language Optional language to return text in. - * @return Localized text string + * INTERNAL function for T(): : Return translated text in the selected language */ function text($label, $raw = null, $language = null) { @@ -122,13 +118,7 @@ function text($label, $raw = null, $language = null) /** - * INTERNAL function for ET(): Return a text in the selected language - * Replaces variables of the form {obj.var} with value, e.g. {user.name} - * NOTE: Invalid object names or non-existing variables are simply deleted. - * @param $label Label of text to return - * @param $values Associative array containing values to fill in - * @param $language Optional language to return text in. - * @return Localized text string with variables replaced by their values + * INTERNAL function for ET(): Return translated text with values replaced */ function etext($label, $values = null, $language = null) { @@ -137,9 +127,7 @@ function etext($label, $values = null, $language = null) /** - * INTERNAL function for T_set_language(): Change language - * @param $language New language to set - * @param $setcookie Optional flag if a cookie is to be set (default: true) + * INTERNAL function for T_set_language() */ function set_language($language, $setcookie = true) { @@ -163,7 +151,6 @@ function set_language($language, $setcookie = true) /** * INTERNAL function for T_lang(): Get active language - * @return currently active language */ function get_language() { @@ -173,8 +160,6 @@ function get_language() /** * INTERNAL function for T_exists(): Check if a text entry for a specific label exists - * @param $label Label to check - * @return true if text exists in actual (or supplied) language, false otherwise. */ function text_exists($label, $language = null) { |