4 include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
5 include_once(
"./Modules/LearningModule/classes/class.ilStructureObject.php");
6 include_once(
"./Modules/LearningModule/classes/class.ilLMObject.php");
32 include_once(
"./Modules/LearningModule/classes/class.ilLMTree.php");
41 include_once(
"./Modules/LearningModule/classes/class.ilLMObject.php");
44 include_once(
"./Services/COPage/classes/class.ilPageObject.php");
58 parent::__construct($a_id, $a_parent_obj, $a_parent_cmd,
$tree);
64 if ((
int)
$_GET[
"obj_id"] > 0)
92 return $this->lm->getTitle();
99 $this->lm->isActiveNumbering(),
false,
false, $this->lm->getId(),
$lang);
110 if ($a_node[
"child"] ==
$_GET[
"obj_id"] ||
129 if($this->lp_cache[$this->lm->getId()] === null)
131 $this->lp_cache[$this->lm->getId()] =
false;
133 include_once
'./Services/Tracking/classes/class.ilLearningProgressAccess.php';
138 include_once
'./Services/Object/classes/class.ilObjectLP.php';
143 include_once
"Services/Tracking/classes/class.ilLPStatusFactory.php";
145 $info = $class::_getStatusInfo($this->lm->getId());
149 if(is_array(
$info[
"items"]))
151 foreach(
$info[
"items"] as $item_id)
154 if(is_array(
$info[
"in_progress"][$item_id]) &&
155 in_array($ilUser->getId(),
$info[
"in_progress"][$item_id]))
159 else if(is_array(
$info[
"completed"][$item_id]) &&
160 in_array($ilUser->getId(),
$info[
"completed"][$item_id]))
164 $this->lp_cache[$this->lm->getId()][$item_id] =$status;
169 include_once
'./Services/Tracking/classes/class.ilLearningProgressBaseGUI.php';
172 if(is_array($this->lp_cache[$this->lm->getId()]) &&
173 isset($this->lp_cache[$this->lm->getId()][$a_id]))
const LP_STATUS_COMPLETED_NUM
static _getImagePathForStatus($a_status)
Get image path for status.
beforeRendering()
Before rendering.
setSkipRootNode($a_val)
Set skip root node.
const LP_STATUS_IN_PROGRESS_NUM
const LP_MODE_COLLECTION_MANUAL
setPathOpen($a_id)
Set node path to be opened.
const LP_MODE_COLLECTION_TLT
isNodeHighlighted($a_node)
Is node highlighted?
static _getClassById($a_obj_id, $a_mode=NULL)
setPreloadChilds($a_val)
Set preload childs.
static checkAccess($a_ref_id, $a_allow_only_read=true)
check access to learning progress
checkLPIcon($a_id)
Check learning progress icon.
static getInstance($a_tree_id)
Get Instance.
static preloadDataByLM($a_lm_id)
Preload data records by lm.
LM editor explorer GUI class.
getNodeId($a_node)
Get id for node.
getOfflineMode()
Get offline mode.
const LP_STATUS_NOT_ATTEMPTED_NUM
getRootNode()
Get root node.
Explorer class that works on tree objects (Services/Tree)
static preloadActivationDataByParentId($a_parent_id)
Preload activation data by Parent Id.
for($i=1; $i<=count($kw_cases_sel); $i+=1) $lang
__construct($a_parent_obj, $a_parent_cmd, ilObjContentObject $a_lm, $a_id="")
Constructor.
Class ilObjContentObject.
getNodeContent($a_node)
Get node content.
static getInstance($a_obj_id)
static _getPresentationTitle($a_node, $a_mode=IL_PAGE_TITLE, $a_include_numbers=false, $a_time_scheduled_activation=false, $a_force_content=false, $a_lm_id=0, $a_lang="-")
Get affective title.