ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_obj_id, string $a_type) | |
setTitleDescrOnlyMode (bool $a_val) | |
Set enable title/description only mode. More... | |
getTitleDescrOnlyMode () | |
Get enable title/description only mode. More... | |
executeCommand () | |
listTranslations (bool $a_get_post_values=false, bool $a_add=false) | |
addToolbar () | |
saveTranslations (bool $delete_checked=false) | |
deleteTranslations () | |
getMultiLangForm (bool $a_add=false) | |
Get multi language form. More... | |
confirmDeactivateContentMultiLang () | |
Confirm page translation creation. More... | |
addLanguages (ilPropertyFormGUI $form=null) | |
Add language. More... | |
saveLanguages () | |
confirmRemoveLanguages () | |
Confirm remove languages. More... | |
removeLanguages () | |
Remove languages. More... | |
setStartValues (string $a_title, string $a_description) | |
Protected Attributes | |
ILIAS Multilingualism StandardGUIRequest | $request |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
ilToolbarGUI | $toolbar |
ilObjUser | $user |
ilMultilingualism | $obj_trans |
bool | $title_descr_only = true |
string | $start_title = "" |
string | $start_description = "" |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning GUI class for object translation handling.
Definition at line 24 of file class.ilMultilingualismGUI.php.
ilMultilingualismGUI::__construct | ( | int | $a_obj_id, |
string | $a_type | ||
) |
Definition at line 37 of file class.ilMultilingualismGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilMultilingualism\getInstance(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilMultilingualismGUI::addLanguages | ( | ilPropertyFormGUI | $form = null | ) |
Add language.
Definition at line 297 of file class.ilMultilingualismGUI.php.
References $tpl, getMultiLangForm(), and ilGlobalTemplateInterface\setContent().
Referenced by saveLanguages().
ilMultilingualismGUI::addToolbar | ( | ) |
Definition at line 135 of file class.ilMultilingualismGUI.php.
References $toolbar, ilToolbarGUI\addButton(), ILIAS\Repository\ctrl(), getTitleDescrOnlyMode(), and ILIAS\Repository\lng().
Referenced by listTranslations().
ilMultilingualismGUI::confirmDeactivateContentMultiLang | ( | ) |
Confirm page translation creation.
Definition at line 275 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, $tpl, getTitleDescrOnlyMode(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilMultilingualismGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 347 of file class.ilMultilingualismGUI.php.
References $ctrl, $i, $lng, $tpl, ilLanguage\loadLanguageModule(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilMultilingualismGUI::deleteTranslations | ( | ) |
Definition at line 199 of file class.ilMultilingualismGUI.php.
References $check, listTranslations(), ILIAS\Repository\lng(), and saveTranslations().
ilMultilingualismGUI::executeCommand | ( | ) |
Definition at line 73 of file class.ilMultilingualismGUI.php.
References ILIAS\Repository\ctrl().
ilMultilingualismGUI::getMultiLangForm | ( | bool | $a_add = false | ) |
Get multi language form.
Definition at line 228 of file class.ilMultilingualismGUI.php.
References $ctrl, $ilUser, $lng, $user, ilMDLanguageItem\_getLanguages(), getTitleDescrOnlyMode(), and ilLanguage\txt().
Referenced by addLanguages(), and saveLanguages().
ilMultilingualismGUI::getTitleDescrOnlyMode | ( | ) |
Get enable title/description only mode.
Definition at line 68 of file class.ilMultilingualismGUI.php.
References $title_descr_only.
Referenced by addToolbar(), confirmDeactivateContentMultiLang(), and getMultiLangForm().
ilMultilingualismGUI::listTranslations | ( | bool | $a_get_post_values = false , |
bool | $a_add = false |
||
) |
Definition at line 90 of file class.ilMultilingualismGUI.php.
References $data, addToolbar(), and ILIAS\Repository\lng().
Referenced by deleteTranslations(), and saveTranslations().
ilMultilingualismGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 377 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, ilCtrl\redirect(), and ilLanguage\txt().
ilMultilingualismGUI::saveLanguages | ( | ) |
Definition at line 307 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, addLanguages(), ilLoggerFactory\getLogger(), getMultiLangForm(), and ilLanguage\txt().
ilMultilingualismGUI::saveTranslations | ( | bool | $delete_checked = false | ) |
Definition at line 146 of file class.ilMultilingualismGUI.php.
References $check, ILIAS\Repository\ctrl(), listTranslations(), and ILIAS\Repository\lng().
Referenced by deleteTranslations().
ilMultilingualismGUI::setStartValues | ( | string | $a_title, |
string | $a_description | ||
) |
Definition at line 397 of file class.ilMultilingualismGUI.php.
Referenced by ilDidacticTemplateSettingsGUI\executeCommand().
ilMultilingualismGUI::setTitleDescrOnlyMode | ( | bool | $a_val | ) |
Set enable title/description only mode.
Definition at line 60 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 28 of file class.ilMultilingualismGUI.php.
Referenced by confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 27 of file class.ilMultilingualismGUI.php.
Referenced by confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 32 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 26 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 35 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 34 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 33 of file class.ilMultilingualismGUI.php.
Referenced by getTitleDescrOnlyMode().
|
protected |
Definition at line 30 of file class.ilMultilingualismGUI.php.
Referenced by addToolbar().
|
protected |
Definition at line 29 of file class.ilMultilingualismGUI.php.
Referenced by addLanguages(), confirmDeactivateContentMultiLang(), and confirmRemoveLanguages().
|
protected |
Definition at line 31 of file class.ilMultilingualismGUI.php.
Referenced by getMultiLangForm().