/** * Get node content * * @param array $a_node node array * @return string node content */ function getNodeContent($a_node) { if ($a_node["child"] == $this->getNodeId($this->getRootNode())) { return $this->lm->getTitle(); } $lang = $_GET["transl"] != "" ? $_GET["transl"] : "-"; return ilLMObject::_getPresentationTitle($a_node, IL_PAGE_TITLE, $this->lm->isActiveNumbering(), false, false, $this->lm->getId(), $lang); }
/** * get node content * * @param mixed $a_node * @return string note name */ public function getNodeContent($a_node) { $lang = $_GET["transl"] != "" ? $_GET["transl"] : "-"; return ilLMObject::_getPresentationTitle($a_node, IL_PAGE_TITLE, $this->lm->isActiveNumbering(), false, false, $this->lm->getId(), $lang); }