|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
GUI class for object translation handling. More...
Collaboration diagram for ilMultilingualismGUI:Public Member Functions | |
| __construct ($a_obj_id, $a_type) | |
| ilTranslationGUI constructor. More... | |
| setTitleDescrOnlyMode ($a_val) | |
| Set enable title/description only mode. More... | |
| getTitleDescrOnlyMode () | |
| Get enable title/description only mode. More... | |
| executeCommand () | |
| Execute command. More... | |
| listTranslations ($a_get_post_values=false, $a_add=false) | |
| List translations. More... | |
| addToolbar () | |
| saveTranslations () | |
| Save translations. More... | |
| deleteTranslations () | |
| Remove translation. More... | |
| getMultiLangForm ($a_add=false) | |
| Get multi language form. More... | |
| confirmDeactivateContentMultiLang () | |
| Confirm page translation creation. More... | |
| addLanguages (ilPropertyFormGUI $form=null) | |
| Add language. More... | |
| saveLanguages () | |
| Save languages. More... | |
| confirmRemoveLanguages () | |
| Confirm remove languages. More... | |
| removeLanguages () | |
| Remove languages. More... | |
| setStartValues ($a_title, $a_description) | |
Protected Attributes | |
| $obj_trans | |
| $title_descr_only = true | |
| $start_title = "" | |
| $start_description = "" | |
GUI class for object translation handling.
@ilCtrl_IsCalledBy ilTranslationGUI: ilDidacticTemplateSettingsGUI
Definition at line 14 of file class.ilMultilingualismGUI.php.
| ilMultilingualismGUI::__construct | ( | $a_obj_id, | |
| $a_type | |||
| ) |
ilTranslationGUI constructor.
| int | $a_obj_id | |
| stirng | $a_type |
Definition at line 26 of file class.ilMultilingualismGUI.php.
References $a_type, $ilCtrl, $lng, $tpl, and ilMultilingualism\getInstance().
Here is the call graph for this function:| ilMultilingualismGUI::addLanguages | ( | ilPropertyFormGUI | $form = null | ) |
Add language.
Definition at line 299 of file class.ilMultilingualismGUI.php.
References $tpl, and getMultiLangForm().
Referenced by saveLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::addToolbar | ( | ) |
Definition at line 124 of file class.ilMultilingualismGUI.php.
References getTitleDescrOnlyMode().
Referenced by listTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::confirmDeactivateContentMultiLang | ( | ) |
Confirm page translation creation.
Definition at line 275 of file class.ilMultilingualismGUI.php.
References $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
Here is the call graph for this function:| ilMultilingualismGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 361 of file class.ilMultilingualismGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilMultilingualismGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 187 of file class.ilMultilingualismGUI.php.
References $_POST, listTranslations(), saveTranslations(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilMultilingualismGUI::executeCommand | ( | ) |
Execute command.
Definition at line 61 of file class.ilMultilingualismGUI.php.
References $cmd.
| ilMultilingualismGUI::getMultiLangForm | ( | $a_add = false | ) |
Get multi language form.
Definition at line 218 of file class.ilMultilingualismGUI.php.
References $ilCtrl, $ilUser, $lng, $options, $si, $tpl, ilMDLanguageItem\_getLanguages(), and getTitleDescrOnlyMode().
Referenced by addLanguages(), and saveLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::getTitleDescrOnlyMode | ( | ) |
Get enable title/description only mode.
Definition at line 53 of file class.ilMultilingualismGUI.php.
References $title_descr_only.
Referenced by addToolbar(), confirmDeactivateContentMultiLang(), and getMultiLangForm().
Here is the caller graph for this function:| ilMultilingualismGUI::listTranslations | ( | $a_get_post_values = false, |
|
$a_add = false |
|||
| ) |
List translations.
Definition at line 83 of file class.ilMultilingualismGUI.php.
References $_POST, $data, and addToolbar().
Referenced by deleteTranslations(), and saveTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 393 of file class.ilMultilingualismGUI.php.
References $_POST, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
Here is the call graph for this function:| ilMultilingualismGUI::saveLanguages | ( | ) |
Save languages.
Definition at line 313 of file class.ilMultilingualismGUI.php.
References $ilCtrl, $l, $lng, addLanguages(), ilLoggerFactory\getLogger(), getMultiLangForm(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilMultilingualismGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 137 of file class.ilMultilingualismGUI.php.
References $_POST, listTranslations(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Referenced by deleteTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::setStartValues | ( | $a_title, | |
| $a_description | |||
| ) |
| string | $a_title | |
| string | $a_description |
Definition at line 417 of file class.ilMultilingualismGUI.php.
| ilMultilingualismGUI::setTitleDescrOnlyMode | ( | $a_val | ) |
Set enable title/description only mode.
| bool | $a_val | enable title/description only mode |
Definition at line 43 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 16 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 19 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 18 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 17 of file class.ilMultilingualismGUI.php.
Referenced by getTitleDescrOnlyMode().