ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
GUI class for object translation handling. More...
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.
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().
ilMultilingualismGUI::addLanguages | ( | ilPropertyFormGUI | $form = null | ) |
Add language.
Definition at line 299 of file class.ilMultilingualismGUI.php.
References $tpl, and getMultiLangForm().
Referenced by saveLanguages().
ilMultilingualismGUI::addToolbar | ( | ) |
Definition at line 124 of file class.ilMultilingualismGUI.php.
References getTitleDescrOnlyMode().
Referenced by listTranslations().
ilMultilingualismGUI::confirmDeactivateContentMultiLang | ( | ) |
Confirm page translation creation.
Definition at line 275 of file class.ilMultilingualismGUI.php.
References $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
ilMultilingualismGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 361 of file class.ilMultilingualismGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilMultilingualismGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 187 of file class.ilMultilingualismGUI.php.
References $_POST, listTranslations(), saveTranslations(), and ilUtil\sendFailure().
ilMultilingualismGUI::executeCommand | ( | ) |
Execute command.
Definition at line 61 of file class.ilMultilingualismGUI.php.
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(), array, getTitleDescrOnlyMode(), and ilSelectInputGUI\setOptions().
Referenced by addLanguages(), and saveLanguages().
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().
ilMultilingualismGUI::listTranslations | ( | $a_get_post_values = false , |
|
$a_add = false |
|||
) |
List translations.
Definition at line 83 of file class.ilMultilingualismGUI.php.
References $_POST, $data, addToolbar(), and array.
Referenced by deleteTranslations(), and saveTranslations().
ilMultilingualismGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 393 of file class.ilMultilingualismGUI.php.
References $_POST, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
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().
ilMultilingualismGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 137 of file class.ilMultilingualismGUI.php.
References $_POST, array, listTranslations(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Referenced by deleteTranslations().
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().