Constructor & Destructor Documentation
Constructs the application module
- Parameters:
-
array | $application_config | The application params. The array should be an associative array If you want to send the config path and the config format just send an array like array('path' => 'my_path', 'format' => 'my_format') If you want to send the config array directly, just send an array like array('config' => $my_config) |
- Returns:
- void
Reimplemented from mModularApplication.
Member Function Documentation
Checks PHP settings
- Returns:
- bool
Get the id of the currently selected language
- Returns:
- string
Get the id of the default language as set in the configuration file
- Returns:
- string
Get the list of language id set in the configuration file (used for text translation)
- Returns:
- string[]
Returns the current translation table
- Parameters:
-
string | $module | Key of the module |
- Returns:
- array
Returns the current translation table
- Parameters:
-
- Returns:
- array
Load the translation table for a given language
- Parameters:
-
string | $language | Language Id |
string | $section | Section Id |
- Returns:
- void;
Set the id of the currently selected language (and reload the translation table)
- Parameters:
-
string | $language | Language id |
Get the translated text corresponding to a key or to a set of keys
- Parameters:
-
string | $section | The section's id |
string | array | object | $keys | The key, an array of keys, or an object (properties used as keys) |
- Returns:
- string|array|object Returns the tanslated text or an array or object containing translated text
Field Documentation
$currentLanguage [protected] |
$translationTable [protected] |
The Authentication error type
The LexisNexis error type
The LexisNexis error type
The LexisNexis error type
The LexisNexis error type
The documentation for this class was generated from the following file: