8include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
 
   29        public function __construct($a_parent_obj,$a_parent_cmd, $a_lm)
 
   33                include_once(
"./Modules/LearningModule/classes/class.ilLMTree.php");
 
   36                parent::__construct(
"lm_public_section_".$this->lm->getId(),$a_parent_obj,$a_parent_cmd,
$tree);
 
   51                        $this->lm->isActiveNumbering(), 
false, 
false, $this->lm->getId(), 
$lang);
 
   68                        $a_name = 
"icon_".$a_node[
"type"].
".svg";
 
   69                        if ($a_node[
"type"] == 
"pg")
 
   71                                include_once(
"./Modules/LearningModule/classes/class.ilLMPage.php");
 
   74                                        $lm_set->get(
"time_scheduled_page_activation"));
 
   77                                $img_sc = (
$lm_set->get(
"time_scheduled_page_activation") &&
 
   82                                $a_name = 
"icon_pg".$img_sc.
".svg";
 
   86                                        $a_name = 
"icon_pg_d".$img_sc.
".svg";
 
   90                                        include_once(
"./Modules/LearningModule/classes/class.ilLMPage.php");
 
   92                                                $this->lm->getType());
 
   95                                                $a_name = 
"icon_pg_del".$img_sc.
".svg";
 
  113                        if($node[
"public_access"] == 
"y" && $node[
"type"] == 
"pg")
 
  117                        if($node[
"public_access"] == 
"y" && $node[
"type"]== 
"st")
 
  134                if($from_id === 
null)
 
  143                        if($node[
"type"] == 
"st")
 
  145                                $nodes = array_merge($nodes, $this->
getAllNodes($node[
"obj_id"]));
 
  159                if ($a_node[
"type"] == 
"pg")
 
setNodeSelected($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour)
setNodeOpen($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour)
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.
static getInstance($a_tree_id)
Get Instance.
static _lookupActive($a_id, $a_parent_type, $a_check_scheduled_activation=false, $a_lang="-")
lookup activation status
static _lookupContainsDeactivatedElements($a_id, $a_parent_type, $a_lang="-")
lookup whether page contains deactivated elements
static _isScheduledActivation($a_id, $a_parent_type, $a_lang="-")
Check whether page is activated by time schedule.
tree explorer lm public area
getNodeContent($a_node)
get node content
__construct($a_parent_obj, $a_parent_cmd, $a_lm)
constructor
getAllNodes($from_id=null)
Returns all nodes from tree recursive.
isNodeClickable($a_node)
Is not clickable?
beforeRendering()
select public pages and open public chapter
getNodeIcon($a_node)
Get node icon.
Explorer class that works on tree objects (Services/Tree)
getRootNode()
Get root node.
getNodeId($a_node)
Get id for node.
getChildsOfNode($a_parent_node_id)
Get childs of node.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)