34 $this->
user = $DIC->user();
60 if ((
int)
$_GET[
"obj_id"] > 0) {
71 $class = (is_object($this->parent_obj))
72 ? get_class($this->parent_obj)
74 $this->ctrl->setParameterByClass($class,
"obj_id",
$_GET[
"obj_id"]);
89 return $this->lm->getTitle();
98 $this->lm->isActiveNumbering(),
114 if ($a_node[
"child"] ==
$_GET[
"obj_id"] ||
132 if ($this->lp_cache[$this->lm->getId()] === null) {
133 $this->lp_cache[$this->lm->getId()] =
false;
142 $info = $class::_getStatusInfo($this->lm->getId());
146 if (is_array($info[
"items"])) {
147 foreach ($info[
"items"] as $item_id) {
149 if (is_array($info[
"in_progress"][$item_id]) &&
150 in_array(
$ilUser->getId(), $info[
"in_progress"][$item_id])) {
152 } elseif (is_array($info[
"completed"][$item_id]) &&
153 in_array(
$ilUser->getId(), $info[
"completed"][$item_id])) {
156 $this->lp_cache[$this->lm->getId()][$item_id] = $status;
162 if (is_array($this->lp_cache[$this->lm->getId()]) &&
163 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
static _getClassById($a_obj_id, $a_mode=null)
isNodeHighlighted($a_node)
Is node highlighted?
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.
static _getPresentationTitle( $a_node, $a_mode=self::PAGE_TITLE, $a_include_numbers=false, $a_time_scheduled_activation=false, $a_force_content=false, $a_lm_id=0, $a_lang="-")
Get affective title.
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)
__construct(Container $dic, ilPlugin $plugin)
static preloadActivationDataByParentId($a_parent_id)
Preload activation data by Parent Id.
__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)