ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
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 DidacticTemplate Multilingualism StandardGUIRequest | $request |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
ilToolbarGUI | $toolbar |
ilObjUser | $user |
LOMServices | $lom_services |
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 26 of file class.ilMultilingualismGUI.php.
ilMultilingualismGUI::__construct | ( | int | $a_obj_id, |
string | $a_type | ||
) |
Definition at line 40 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 304 of file class.ilMultilingualismGUI.php.
References $tpl, getMultiLangForm(), and ILIAS\UICore\GlobalTemplate\setContent().
Referenced by saveLanguages().
ilMultilingualismGUI::addToolbar | ( | ) |
Definition at line 139 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 282 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, $tpl, getTitleDescrOnlyMode(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilMultilingualismGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 354 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, $tpl, ilLanguage\loadLanguageModule(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilMultilingualismGUI::deleteTranslations | ( | ) |
Definition at line 203 of file class.ilMultilingualismGUI.php.
References $check, listTranslations(), ILIAS\Repository\lng(), and saveTranslations().
ilMultilingualismGUI::executeCommand | ( | ) |
Definition at line 77 of file class.ilMultilingualismGUI.php.
References ILIAS\Repository\ctrl().
ilMultilingualismGUI::getMultiLangForm | ( | bool | $a_add = false | ) |
Get multi language form.
Definition at line 232 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, $user, getTitleDescrOnlyMode(), ilSelectInputGUI\setOptions(), and ilLanguage\txt().
Referenced by addLanguages(), and saveLanguages().
ilMultilingualismGUI::getTitleDescrOnlyMode | ( | ) |
Get enable title/description only mode.
Definition at line 72 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 94 of file class.ilMultilingualismGUI.php.
References $data, addToolbar(), and ILIAS\Repository\lng().
Referenced by deleteTranslations(), and saveTranslations().
ilMultilingualismGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 384 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, ilCtrl\redirect(), and ilLanguage\txt().
ilMultilingualismGUI::saveLanguages | ( | ) |
Definition at line 314 of file class.ilMultilingualismGUI.php.
References $ctrl, $lng, addLanguages(), ilLoggerFactory\getLogger(), getMultiLangForm(), and ilLanguage\txt().
ilMultilingualismGUI::saveTranslations | ( | bool | $delete_checked = false | ) |
Definition at line 150 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 404 of file class.ilMultilingualismGUI.php.
Referenced by ilDidacticTemplateSettingsGUI\executeCommand().
ilMultilingualismGUI::setTitleDescrOnlyMode | ( | bool | $a_val | ) |
Set enable title/description only mode.
Definition at line 64 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 30 of file class.ilMultilingualismGUI.php.
Referenced by confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 29 of file class.ilMultilingualismGUI.php.
Referenced by confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 34 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 35 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 28 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 38 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 37 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 36 of file class.ilMultilingualismGUI.php.
Referenced by getTitleDescrOnlyMode().
|
protected |
Definition at line 32 of file class.ilMultilingualismGUI.php.
Referenced by addToolbar().
|
protected |
Definition at line 31 of file class.ilMultilingualismGUI.php.
Referenced by addLanguages(), confirmDeactivateContentMultiLang(), and confirmRemoveLanguages().
|
protected |
Definition at line 33 of file class.ilMultilingualismGUI.php.
Referenced by getMultiLangForm().