ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
GUI class for object translation handling. More...
Public Member Functions | |
__construct ($a_obj_gui) | |
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... | |
saveTranslations () | |
Save translations. More... | |
deleteTranslations () | |
Remove translation. More... | |
activateContentMultilinguality () | |
Activate multi language (-> master language selection) More... | |
getMultiLangForm ($a_add=false) | |
Get multi language form. More... | |
saveContentTranslationActivation () | |
Save content translation activation. More... | |
confirmDeactivateContentMultiLang () | |
Get multi lang info. More... | |
deactivateContentMultiLang () | |
Deactivate multilanguage. More... | |
addLanguages () | |
Add language. More... | |
saveLanguages () | |
Save languages. More... | |
confirmRemoveLanguages () | |
Confirm remove languages. More... | |
removeLanguages () | |
Remove languages. More... | |
Protected Attributes | |
$obj_trans | |
$title_descr_only = true | |
GUI class for object translation handling.
Definition at line 12 of file class.ilObjectTranslationGUI.php.
ilObjectTranslationGUI::__construct | ( | $a_obj_gui | ) |
Constructor.
Definition at line 20 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, $tpl, and ilObjectTranslation\getInstance().
ilObjectTranslationGUI::activateContentMultilinguality | ( | ) |
Activate multi language (-> master language selection)
Definition at line 252 of file class.ilObjectTranslationGUI.php.
References $lng, $tpl, getMultiLangForm(), and ilUtil\sendInfo().
ilObjectTranslationGUI::addLanguages | ( | ) |
Add language.
Definition at line 426 of file class.ilObjectTranslationGUI.php.
References $tpl, and getMultiLangForm().
ilObjectTranslationGUI::confirmDeactivateContentMultiLang | ( | ) |
Get multi lang info.
Confirm page translation creation
Definition at line 375 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
ilObjectTranslationGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 469 of file class.ilObjectTranslationGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilObjectTranslationGUI::deactivateContentMultiLang | ( | ) |
Deactivate multilanguage.
Definition at line 399 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, array, getTitleDescrOnlyMode(), and ilUtil\sendSuccess().
ilObjectTranslationGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 221 of file class.ilObjectTranslationGUI.php.
References $_POST, listTranslations(), saveTranslations(), and ilUtil\sendFailure().
ilObjectTranslationGUI::executeCommand | ( | ) |
Execute command.
Definition at line 57 of file class.ilObjectTranslationGUI.php.
ilObjectTranslationGUI::getMultiLangForm | ( | $a_add = false | ) |
Get multi language form.
Definition at line 265 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $ilUser, $lng, $options, $si, $tpl, ilMDLanguageItem\_getLanguages(), array, getTitleDescrOnlyMode(), and ilSelectInputGUI\setOptions().
Referenced by activateContentMultilinguality(), addLanguages(), saveContentTranslationActivation(), and saveLanguages().
ilObjectTranslationGUI::getTitleDescrOnlyMode | ( | ) |
Get enable title/description only mode.
Definition at line 49 of file class.ilObjectTranslationGUI.php.
References $title_descr_only.
Referenced by confirmDeactivateContentMultiLang(), deactivateContentMultiLang(), getMultiLangForm(), and listTranslations().
ilObjectTranslationGUI::listTranslations | ( | $a_get_post_values = false , |
|
$a_add = false |
|||
) |
List translations.
Definition at line 79 of file class.ilObjectTranslationGUI.php.
References $_POST, $data, ilObject\_lookupType(), array, getTitleDescrOnlyMode(), and ilUtil\sendInfo().
Referenced by deleteTranslations(), and saveTranslations().
ilObjectTranslationGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 501 of file class.ilObjectTranslationGUI.php.
References $_POST, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
ilObjectTranslationGUI::saveContentTranslationActivation | ( | ) |
Save content translation activation.
Definition at line 322 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, and getMultiLangForm().
ilObjectTranslationGUI::saveLanguages | ( | ) |
Save languages.
Definition at line 437 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $l, $lng, $tpl, getMultiLangForm(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjectTranslationGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 159 of file class.ilObjectTranslationGUI.php.
References $_POST, array, listTranslations(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Referenced by deleteTranslations().
ilObjectTranslationGUI::setTitleDescrOnlyMode | ( | $a_val | ) |
Set enable title/description only mode.
bool | $a_val | enable title/description only mode |
Definition at line 39 of file class.ilObjectTranslationGUI.php.
|
protected |
Definition at line 14 of file class.ilObjectTranslationGUI.php.
|
protected |
Definition at line 15 of file class.ilObjectTranslationGUI.php.
Referenced by getTitleDescrOnlyMode().