|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () | |
| Get multi lang info. More... | |
| deactivateContentMultiLang () | |
| Deactivate multilanguage. More... | |
| addLanguages () | |
| Add language. More... | |
| saveLanguages () | |
| Save languages. More... | |
| confirmRemoveLanguages () | |
| Confirm remove languages. More... | |
| removeLanguages () | |
| Remove languages. More... | |
Protected Attributes | |
| $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 20 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, $tpl, and ilObjectTranslation\getInstance().
Here is the call graph for this function:| ilObjectTranslationGUI::activateContentMultilinguality | ( | ) |
Activate multi language (-> master language selection)
Definition at line 252 of file class.ilObjectTranslationGUI.php.
References $lng, $tpl, getMultiLangForm(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::addLanguages | ( | ) |
Add language.
Definition at line 426 of file class.ilObjectTranslationGUI.php.
References $tpl, and getMultiLangForm().
Here is the call graph for this function:| ilObjectTranslationGUI::confirmDeactivateContentMultiLang | ( | ) |
Get multi lang info.
Confirm page translation creation
Definition at line 375 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, $tpl, and getTitleDescrOnlyMode().
Here is the call graph for this function:| ilObjectTranslationGUI::confirmRemoveLanguages | ( | ) |
Confirm remove languages.
Definition at line 469 of file class.ilObjectTranslationGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::deactivateContentMultiLang | ( | ) |
Deactivate multilanguage.
Definition at line 399 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $lng, getTitleDescrOnlyMode(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjectTranslationGUI::deleteTranslations | ( | ) |
Remove translation.
Definition at line 221 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 57 of file class.ilObjectTranslationGUI.php.
References $cmd.
| ilObjectTranslationGUI::getMultiLangForm | ( | $a_add = false | ) |
Get multi language form.
Definition at line 265 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, $ilUser, $lng, $options, $si, $tpl, 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 49 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 79 of file class.ilObjectTranslationGUI.php.
References $_POST, $data, 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 501 of file class.ilObjectTranslationGUI.php.
References $_POST, $ilCtrl, $l, $lng, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjectTranslationGUI::saveContentTranslationActivation | ( | ) |
Save content translation activation.
Definition at line 322 of file class.ilObjectTranslationGUI.php.
References $ilCtrl, and getMultiLangForm().
Here is the call graph for this function:| ilObjectTranslationGUI::saveLanguages | ( | ) |
Save languages.
Definition at line 437 of file class.ilObjectTranslationGUI.php.
References $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 159 of file class.ilObjectTranslationGUI.php.
References $_POST, listTranslations(), ilUtil\sendFailure(), ilUtil\sendSuccess(), 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 39 of file class.ilObjectTranslationGUI.php.
|
protected |
Definition at line 14 of file class.ilObjectTranslationGUI.php.
|
protected |
Definition at line 15 of file class.ilObjectTranslationGUI.php.
Referenced by getTitleDescrOnlyMode().