41 $this->ctrl = $DIC->ctrl();
42 $this->lm = $a_lm_gui->object;
43 $this->lm_gui = $a_lm_gui;
44 $this->tpl = $DIC[
"tpl"];
45 $this->lng = $DIC->language();
47 $this->lang = (
$_GET[
"transl"] ==
"")
57 $next_class = $this->ctrl->getNextClass($this);
58 $cmd = $this->ctrl->getCmd(
"listShortTitles");
60 switch ($next_class) {
62 if (in_array($cmd,
array(
"listShortTitles",
"save"))) {
75 include_once(
"./Modules/LearningModule/classes/class.ilLMEditShortTitlesTableGUI.php");
77 $this->tpl->setContent($ml_head .
$tab->getHTML());
85 if (is_array(
$_POST[
"short_title"])) {
93 $this->ctrl->redirect($this,
"listShortTitles");
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
__construct(ilObjLearningModuleGUI $a_lm_gui)
Learning module.
if(!array_key_exists('StateId', $_REQUEST)) $id
static _lookupContObjID($a_id)
get learning module / digibook id for lm object
Class ilLearningModuleGUI.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
listShortTitles()
List short titles.
static getMultiLangHeader($a_lm_id, $a_gui_class, $a_mode="")
Get multi lang header.
executeCommand()
Execute command.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
Create styles array
The data for the language used.
static writeShortTitle($a_id, $a_short_title, $a_lang="-")
Write short title.
TableGUI class for lm short titles.