|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
GUI class for object translation handling. More...
Collaboration diagram for ilMultilingualismGUI: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.
@ilCtrl_IsCalledBy 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().
Here is the call graph for this function:| ilMultilingualismGUI::addLanguages | ( | ilPropertyFormGUI | $form = null | ) |
Add language.
Definition at line 311 of file class.ilMultilingualismGUI.php.
References $form, $tpl, and getMultiLangForm().
Referenced by saveLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::addToolbar | ( | ) |
Definition at line 150 of file class.ilMultilingualismGUI.php.
References $toolbar, and getTitleDescrOnlyMode().
Referenced by listTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::confirmDeactivateContentMultiLang | ( | ) |
Confirm page translation creation.
Definition at line 288 of file class.ilMultilingualismGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
Here is the call graph for this function:| ilMultilingualismGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 364 of file class.ilMultilingualismGUI.php.
References $_POST, $ctrl, $i, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilMultilingualismGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 210 of file class.ilMultilingualismGUI.php.
References $_POST, listTranslations(), saveTranslations(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilMultilingualismGUI::executeCommand | ( | ) |
Execute command.
Definition at line 92 of file class.ilMultilingualismGUI.php.
| ilMultilingualismGUI::getMultiLangForm | ( | $a_add = false | ) |
Get multi language form.
Definition at line 236 of file class.ilMultilingualismGUI.php.
References $ctrl, $form, $ilCtrl, $ilUser, $lng, PHPMailer\PHPMailer\$options, $si, $tpl, $user, ilMDLanguageItem\_getLanguages(), and getTitleDescrOnlyMode().
Referenced by addLanguages(), and saveLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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, and addToolbar().
Referenced by deleteTranslations(), and saveTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultilingualismGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 394 of file class.ilMultilingualismGUI.php.
References $_POST, $ctrl, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilMultilingualismGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 164 of file class.ilMultilingualismGUI.php.
References $_POST, listTranslations(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
Referenced by deleteTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().