29 bool $offline =
false,
30 bool $export_all_languages =
false,
31 string $export_format =
"",
36 $ctrl = (is_null($ctrl))
42 $this->ref_id = $this->request->getRequestedRefId();
45 $this->lm = $this->lm_gui->object;
51 $this->request->getRequestedTranslation(),
52 $this->request->getRequestedFocusId(),
53 $this->request->getRequestedFocusReturn(),
54 (
string) $this->request->getRequestedSearchString(),
56 $export_all_languages,
62 (
int) $this->request->getRequestedObjId(),
66 $this->request->getRequestedCmd(),
67 (
int) $this->request->getRequestedFocusId()
71 $this->tracker->setCurrentPage($this->navigation_status->getCurrentPage());
76 $this->navigation_status->getCurrentPage(),
77 $this->request->getRequestedRefId(),
78 $this->presentation_status->getLang(),
79 $this->request->getRequestedBackPage(),
80 $this->request->getRequestedFromPage(),
81 $this->presentation_status->offline(),
82 $this->presentation_status->getExportFormat(),
83 $this->presentation_status->exportAllLanguages(),
103 return $this->lm_gui;
119 return $this->lm_tree;
127 return $this->presentation_status;
135 return $this->navigation_status;
155 return $this->request;
165 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)
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.