/** * Is node clickable? * * @param array $a_node node data * @return boolean node clickable true/false */ function isNodeClickable($a_node) { if (!parent::isNodeClickable($a_node)) { return false; } if ($a_node["child"] == $this->getRefId()) { return false; } return true; }
/** * {@inheritdoc} */ function isNodeClickable($a_node) { /** * @var $ilAccess ilAccessHandler */ global $ilAccess; if ($a_node['type'] == 'frm') { if ($this->getCurrentFrmRefId() && $this->getCurrentFrmRefId() == $a_node['child']) { return false; } return $ilAccess->checkAccess('moderate_frm', '', $a_node['child']) && parent::isNodeClickable($a_node); } return false; }