Class Module_admin_lang

Description

Module page class.

Located in /adminzone/pages/modules/admin_lang.php (line 24)


	
			
Method Summary
tempcode choose_lang (tempcode $title, [boolean $choose_lang_file = false], [boolean $add_lang = false], [mixed $text = ''], [boolean $provide_na = true], [ID_TEXT $param_name = 'lang'])
tempcode criticise ()
string find_lang_matches (string $old, LANGUAGE_NAME $lang)
?array get_entry_points ()
string get_intertran_conv (LANGUAGE_NAME $in)
?array info ()
tempcode interface_code ()
tempcode interface_content ()
tempcode run ()
tempcode set_lang_code ()
tempcode set_lang_code_2 ()
tempcode set_lang_content ()
void uninstall ()
Methods
choose_lang (line 103)

The UI to choose a language.

  • return: The UI
tempcode choose_lang (tempcode $title, [boolean $choose_lang_file = false], [boolean $add_lang = false], [mixed $text = ''], [boolean $provide_na = true], [ID_TEXT $param_name = 'lang'])
  • tempcode $title: The title to show when choosing a language
  • boolean $choose_lang_file: Whether to also choose a language file
  • boolean $add_lang: Whether the user may add a language
  • mixed $text: Text message to show (Tempcode or string)
  • boolean $provide_na: Whether to provide an N/A choice
  • ID_TEXT $param_name: The name of the parameter for specifying language
criticise (line 173)

The UI to criticise a language pack.

  • return: The UI
tempcode criticise ()
find_lang_matches (line 146)

Finds equivalents for a given string, in a different language, by automatic searching of codes and content.

  • return: The match (or blank if no match can be found)
string find_lang_matches (string $old, LANGUAGE_NAME $lang)
  • string $old: The language string we are searching for the equivalent of
  • LANGUAGE_NAME $lang: The language we want an equivalent in
get_entry_points (line 49)

Standard modular entry-point finder function.

  • return: A map of entry points (type-code=>language-code) (NULL: disabled).
?array get_entry_points ()
get_intertran_conv (line 557)

Convert a standard language code to an intertran code.

  • return: The converted code (or blank if none can be found)
string get_intertran_conv (LANGUAGE_NAME $in)
  • LANGUAGE_NAME $in: The code to convert
info (line 32)

Standard modular info function.

  • return: Map of module info (NULL: module is disabled).
?array info ()
interface_code (line 372)

The UI to translate code.

  • return: The UI
tempcode interface_code ()
interface_content (line 269)

The UI to translate content.

  • return: The UI
tempcode interface_content ()
run (line 72)

Standard modular run function.

  • return: The result of execution.
tempcode run ()
set_lang_code (line 597)

The actualiser to translate code (called from this module).

  • return: The UI
tempcode set_lang_code ()
set_lang_code_2 (line 663)

The actualiser to translate code (called externally, and may operate on many lang files).

  • return: The UI
tempcode set_lang_code_2 ()
set_lang_content (line 328)

The actualiser to translate content.

  • return: The UI
tempcode set_lang_content ()
uninstall (line 57)

Standard modular uninstall function.

void uninstall ()

Documentation generated on Sun, 02 Jan 2011 23:07:20 +0000 by phpDocumentor 1.4.3