24        $this->lng = 
$DIC->language();
 
   25        $this->ctrl = 
$DIC->ctrl();
 
   40            $a_name = 
"icon_" . $a_node[
"type"] . 
".svg";
 
   41            if ($a_node[
"type"] == 
"pg") {
 
   46                    $lm_set->get(
"time_scheduled_page_activation")
 
   50                $img_sc = (
$lm_set->get(
"time_scheduled_page_activation") &&
 
   55                $a_name = 
"icon_pg" . $img_sc . 
".svg";
 
   58                    $a_name = 
"icon_pg_d" . $img_sc . 
".svg";
 
   65                        $a_name = 
"icon_pg_del" . $img_sc . 
".svg";
 
   85        if ($a_node[
"type"] == 
"du") {
 
   86            $a_node[
"type"] = 
"lm";
 
   89        if ($a_node[
"type"] == 
"pg") {
 
   94                $lm_set->get(
"time_scheduled_page_activation")
 
   98                return $lng->txt(
"cont_page_deactivated");
 
  105                    return $lng->txt(
"cont_page_deactivated_elements");
 
  109        return parent::getNodeIconAlt($a_node);
 
  122        switch ($a_node[
"type"]) {
 
  125                $ret = 
$ilCtrl->getLinkTargetByClass(
"ilobjlearningmodulegui", 
"chapters");
 
  131                $ilCtrl->setParameterByClass(
"illmpageobjectgui", 
"obj_id", $a_node[
"child"]);
 
  132                $ret = 
$ilCtrl->getLinkTargetByClass(array(
"ilobjlearningmodulegui", 
"illmpageobjectgui"), 
"edit");
 
  133                $ilCtrl->setParameterByClass(
"illmpageobjectgui", 
"obj_id", 
$_GET[
"obj_id"]);
 
  138                $ilCtrl->setParameterByClass(
"ilstructureobjectgui", 
"obj_id", $a_node[
"child"]);
 
  139                $ret = 
$ilCtrl->getLinkTargetByClass(array(
"ilobjlearningmodulegui", 
"ilstructureobjectgui"), 
"view");
 
  140                $ilCtrl->setParameterByClass(
"ilstructureobjectgui", 
"obj_id", 
$_GET[
"obj_id"]);
 
An exception for terminatinating execution or to throw for unit testing.
LM editor explorer GUI class.
getNodeIconAlt($a_node)
Get node icon alt text.
__construct($a_parent_obj, $a_parent_cmd, ilObjContentObject $a_lm, $a_id="")
Constructor.
getNodeHref($a_node)
Get href for node.
getNodeIcon($a_node)
Get node icon.
LM editor explorer GUI class.
Class ilObjContentObject.
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.
getRootNode()
Get root node.
getNodeId($a_node)
Get id for 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