29 bool $offline =
false,
30 bool $export_all_languages =
false,
31 string $export_format =
"",
33 bool $embed_mode =
false
37 $ctrl = (is_null($ctrl))
43 $this->ref_id = $this->request->getRequestedRefId();
46 $this->lm = $this->lm_gui->object;
52 $this->request->getRequestedTranslation(),
53 $this->request->getRequestedFocusId(),
54 $this->request->getRequestedFocusReturn(),
55 (
string) $this->request->getRequestedSearchString(),
57 $export_all_languages,
64 (
int) $this->request->getRequestedObjId(),
68 $this->request->getRequestedBackPage(),
69 $this->request->getRequestedCmd(),
70 (
int) $this->request->getRequestedFocusId()
74 $this->tracker->setCurrentPage($this->navigation_status->getCurrentPage());
79 $this->navigation_status->getCurrentPage(),
80 $this->request->getRequestedRefId(),
81 $this->presentation_status->getLang(),
82 $this->request->getRequestedBackPage(),
83 $this->request->getRequestedFromPage(),
84 $this->presentation_status->offline(),
85 $this->presentation_status->getExportFormat(),
86 $this->presentation_status->exportAllLanguages(),
107 return $this->lm_gui;
123 return $this->lm_tree;
131 return $this->presentation_status;
139 return $this->navigation_status;
159 return $this->request;
169 return $this->linker;
An exception for terminatinating execution or to throw for unit testing.
This class provides processing control methods.
Checks current navigation request status.
Learning module presentation linker.
Learning module presentation request.
Main service init and factory.
getSettings()
Get learning module settings.
__construct(ilObjUser $user, array $query_params, bool $offline=false, bool $export_all_languages=false, string $export_format="", ilCtrl $ctrl=null, bool $embed_mode=false)
Constructor.
Contains info on offline mode, focus, translation, etc.
static getInstance($a_ref_id, $a_user_id=0)
Get instance.
static getInstance($a_tree_id)
Get Instance.
Class ilLearningModuleGUI.
Class ilObjLearningModule.