ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$lng | |
$ctrl | |
$tpl | |
$toolbar | |
$user | |
$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 51 of file class.ilMultilingualismGUI.php.
References $a_type, $DIC, $ilCtrl, $lng, $tpl, ilMultilingualism\getInstance(), and user().
ilMultilingualismGUI::addLanguages | ( | ilPropertyFormGUI | $form = null | ) |
Add language.
Definition at line 311 of file class.ilMultilingualismGUI.php.
References $form, $tpl, and getMultiLangForm().
Referenced by saveLanguages().
ilMultilingualismGUI::addToolbar | ( | ) |
Definition at line 150 of file class.ilMultilingualismGUI.php.
References $toolbar, and getTitleDescrOnlyMode().
Referenced by listTranslations().
ilMultilingualismGUI::confirmDeactivateContentMultiLang | ( | ) |
Confirm page translation creation.
Definition at line 288 of file class.ilMultilingualismGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
ilMultilingualismGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 364 of file class.ilMultilingualismGUI.php.
References $_POST, $ctrl, $i, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilMultilingualismGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 210 of file class.ilMultilingualismGUI.php.
References $_POST, listTranslations(), saveTranslations(), and ilUtil\sendFailure().
ilMultilingualismGUI::executeCommand | ( | ) |
Execute command.
Definition at line 92 of file class.ilMultilingualismGUI.php.
References array.
ilMultilingualismGUI::getMultiLangForm | ( | $a_add = false | ) |
Get multi language form.
Definition at line 236 of file class.ilMultilingualismGUI.php.
References $ctrl, $form, $ilCtrl, $ilUser, $lng, $options, $si, $tpl, $user, ilMDLanguageItem\_getLanguages(), array, getTitleDescrOnlyMode(), and ilSelectInputGUI\setOptions().
Referenced by addLanguages(), and saveLanguages().
ilMultilingualismGUI::getTitleDescrOnlyMode | ( | ) |
Get enable title/description only mode.
Definition at line 84 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 112 of file class.ilMultilingualismGUI.php.
References $_POST, $data, $table, addToolbar(), and array.
Referenced by deleteTranslations(), and saveTranslations().
ilMultilingualismGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 394 of file class.ilMultilingualismGUI.php.
References $_POST, $ctrl, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
ilMultilingualismGUI::saveLanguages | ( | ) |
Save languages.
Definition at line 324 of file class.ilMultilingualismGUI.php.
References $ctrl, $form, $ilCtrl, $l, $lng, addLanguages(), ilLoggerFactory\getLogger(), getMultiLangForm(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilMultilingualismGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 164 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 416 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 74 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 24 of file class.ilMultilingualismGUI.php.
Referenced by confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 19 of file class.ilMultilingualismGUI.php.
Referenced by __construct(), confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 41 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 44 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 43 of file class.ilMultilingualismGUI.php.
|
protected |
Definition at line 42 of file class.ilMultilingualismGUI.php.
Referenced by getTitleDescrOnlyMode().
|
protected |
Definition at line 34 of file class.ilMultilingualismGUI.php.
Referenced by addToolbar().
|
protected |
Definition at line 29 of file class.ilMultilingualismGUI.php.
Referenced by __construct(), addLanguages(), confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), and getMultiLangForm().
|
protected |
Definition at line 39 of file class.ilMultilingualismGUI.php.
Referenced by getMultiLangForm().