24 public function __construct($a_parent_obj, $a_parent_cmd, $a_lm)
47 $this->lm->isActiveNumbering(),
66 $a_name =
"icon_" . $a_node[
"type"] .
".svg";
67 if ($a_node[
"type"] ==
"pg") {
72 $lm_set->get(
"time_scheduled_page_activation")
76 $img_sc = (
$lm_set->get(
"time_scheduled_page_activation") &&
81 $a_name =
"icon_pg" . $img_sc .
".svg";
84 $a_name =
"icon_pg_d" . $img_sc .
".svg";
91 $a_name =
"icon_pg_del" . $img_sc .
".svg";
108 if ($node[
"public_access"] ==
"y" && $node[
"type"] ==
"pg") {
111 if ($node[
"public_access"] ==
"y" && $node[
"type"] ==
"st") {
127 if ($from_id ===
null) {
134 if ($node[
"type"] ==
"st") {
135 $nodes = array_merge($nodes, $this->
getAllNodes($node[
"obj_id"]));
149 if ($a_node[
"type"] ==
"pg") {
An exception for terminatinating execution or to throw for unit testing.
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=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.
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)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc