|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
GUI class for object translation handling. More...
Collaboration diagram for ilObjectTranslationGUI:Public Member Functions | |
| __construct ($a_obj_gui) | |
| 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... | |
| saveTranslations () | |
| Save translations. More... | |
| deleteTranslations () | |
| Remove translation. More... | |
| activateContentMultilinguality () | |
| Activate multi language (-> master language selection) More... | |
| getMultiLangForm ($a_add=false) | |
| Get multi language form. More... | |
| saveContentTranslationActivation () | |
| Save content translation activation. More... | |
| confirmDeactivateContentMultiLang () | |
| Confirm page translation creation. More... | |
| deactivateContentMultiLang () | |
| Deactivate multilanguage. More... | |
| addLanguages () | |
| Add language. More... | |
| saveLanguages () | |
| Save languages. More... | |
| confirmRemoveLanguages () | |
| Confirm remove languages. More... | |
| removeLanguages () | |
| Remove languages. More... | |
Protected Attributes | |
| $lng | |
| $ctrl | |
| $tpl | |
| $toolbar | |
| $user | |
| $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 45 of file class.ilObjectTranslationGUI.php.
References $DIC, $ilCtrl, $lng, $tpl, ilObjectTranslation\getInstance(), and user().
Here is the call graph for this function:| ilObjectTranslationGUI::activateContentMultilinguality | ( | ) |
Activate multi language (-> master language selection)
Definition at line 271 of file class.ilObjectTranslationGUI.php.
References $form, $lng, $tpl, getMultiLangForm(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::addLanguages | ( | ) |
Add language.
Definition at line 411 of file class.ilObjectTranslationGUI.php.
References $form, $tpl, and getMultiLangForm().
Here is the call graph for this function:| ilObjectTranslationGUI::confirmDeactivateContentMultiLang | ( | ) |
Confirm page translation creation.
Definition at line 364 of file class.ilObjectTranslationGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
Here is the call graph for this function:| ilObjectTranslationGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 452 of file class.ilObjectTranslationGUI.php.
References $_POST, $ctrl, $i, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::deactivateContentMultiLang | ( | ) |
Deactivate multilanguage.
Definition at line 387 of file class.ilObjectTranslationGUI.php.
References $ctrl, $ilCtrl, $lng, and getTitleDescrOnlyMode().
Here is the call graph for this function:| ilObjectTranslationGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 245 of file class.ilObjectTranslationGUI.php.
References $_POST, listTranslations(), saveTranslations(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjectTranslationGUI::executeCommand | ( | ) |
Execute command.
Definition at line 88 of file class.ilObjectTranslationGUI.php.
| ilObjectTranslationGUI::getMultiLangForm | ( | $a_add = false | ) |
Get multi language form.
Definition at line 285 of file class.ilObjectTranslationGUI.php.
References $ctrl, $form, $ilCtrl, $ilUser, $lng, PHPMailer\PHPMailer\$options, $si, $tpl, $user, ilMDLanguageItem\_getLanguages(), and getTitleDescrOnlyMode().
Referenced by activateContentMultilinguality(), addLanguages(), saveContentTranslationActivation(), and saveLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectTranslationGUI::getTitleDescrOnlyMode | ( | ) |
Get enable title/description only mode.
Definition at line 80 of file class.ilObjectTranslationGUI.php.
References $title_descr_only.
Referenced by confirmDeactivateContentMultiLang(), deactivateContentMultiLang(), getMultiLangForm(), and listTranslations().
Here is the caller graph for this function:| ilObjectTranslationGUI::listTranslations | ( | $a_get_post_values = false, |
|
$a_add = false |
|||
| ) |
List translations.
Definition at line 108 of file class.ilObjectTranslationGUI.php.
References $_POST, $data, $table, $toolbar, ilObject\_lookupType(), getTitleDescrOnlyMode(), and ilUtil\sendInfo().
Referenced by deleteTranslations(), and saveTranslations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectTranslationGUI::removeLanguages | ( | ) |
Remove languages.
Definition at line 482 of file class.ilObjectTranslationGUI.php.
References $_POST, $ctrl, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::saveContentTranslationActivation | ( | ) |
Save content translation activation.
Definition at line 337 of file class.ilObjectTranslationGUI.php.
References $ctrl, $form, $ilCtrl, and getMultiLangForm().
Here is the call graph for this function:| ilObjectTranslationGUI::saveLanguages | ( | ) |
Save languages.
Definition at line 422 of file class.ilObjectTranslationGUI.php.
References $ctrl, $form, $ilCtrl, $l, $lng, $tpl, getMultiLangForm(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::saveTranslations | ( | ) |
Save translations.
Definition at line 186 of file class.ilObjectTranslationGUI.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:| ilObjectTranslationGUI::setTitleDescrOnlyMode | ( | $a_val | ) |
Set enable title/description only mode.
| bool | $a_val | enable title/description only mode |
Definition at line 70 of file class.ilObjectTranslationGUI.php.
|
protected |
Definition at line 22 of file class.ilObjectTranslationGUI.php.
Referenced by confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), deactivateContentMultiLang(), getMultiLangForm(), removeLanguages(), saveContentTranslationActivation(), and saveLanguages().
|
protected |
Definition at line 17 of file class.ilObjectTranslationGUI.php.
Referenced by __construct(), activateContentMultilinguality(), confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), deactivateContentMultiLang(), getMultiLangForm(), removeLanguages(), and saveLanguages().
|
protected |
Definition at line 39 of file class.ilObjectTranslationGUI.php.
|
protected |
Definition at line 40 of file class.ilObjectTranslationGUI.php.
Referenced by getTitleDescrOnlyMode().
|
protected |
Definition at line 32 of file class.ilObjectTranslationGUI.php.
Referenced by listTranslations().
|
protected |
Definition at line 27 of file class.ilObjectTranslationGUI.php.
Referenced by __construct(), activateContentMultilinguality(), addLanguages(), confirmDeactivateContentMultiLang(), confirmRemoveLanguages(), getMultiLangForm(), and saveLanguages().
|
protected |
Definition at line 37 of file class.ilObjectTranslationGUI.php.
Referenced by getMultiLangForm().