ILIAS
Release_4_4_x_branch Revision 61816
|
GUI class for object translation handling. More...
Public Member Functions | |
__construct ($a_obj_gui) | |
Constructor. | |
setTitleDescrOnlyMode ($a_val) | |
Set enable title/description only mode. | |
getTitleDescrOnlyMode () | |
Get enable title/description only mode. | |
executeCommand () | |
Execute command. | |
listTranslations ($a_get_post_values=false, $a_add=false) | |
List translations. | |
saveTranslations () | |
Save translations. | |
deleteTranslations () | |
Remove translation. | |
activateContentMultilinguality () | |
Activate multi language (-> master language selection) | |
getMultiLangForm ($a_add=false) | |
Get multi language form. | |
saveContentTranslationActivation () | |
Save content translation activation. | |
confirmDeactivateContentMultiLang () | |
Get multi lang info. | |
deactivateContentMultiLang () | |
Deactivate multilanguage. | |
addLanguages () | |
Add language. | |
saveLanguages () | |
Save languages. | |
confirmRemoveLanguages () | |
Confirm remove languages. | |
removeLanguages () | |
Remove languages. |
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 413 of file class.ilObjectTranslationGUI.php.
References $tpl, and getMultiLangForm().
ilObjectTranslationGUI::confirmDeactivateContentMultiLang | ( | ) |
Get multi lang info.
Confirm page translation creation
Definition at line 368 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
ilObjectTranslationGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 452 of file class.ilObjectTranslationGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilObjectTranslationGUI::deactivateContentMultiLang | ( | ) |
Deactivate multilanguage.
Definition at line 392 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, 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.
References $cmd.
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(), 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, ilObject\_lookupType(), getTitleDescrOnlyMode(), and ilUtil\sendInfo().
Referenced by deleteTranslations(), and saveTranslations().
ilObjectTranslationGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 484 of file class.ilObjectTranslationGUI.php.
References $_POST, $ilCtrl, $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 424 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, getMultiLangForm(), and ilUtil\sendInfo().
ilObjectTranslationGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 159 of file class.ilObjectTranslationGUI.php.
References $_POST, 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().