/** * called by prepare output */ public function setTitleAndDescription() { # all possible create permissions //$possible_ops_ids = $rbacreview->getOperationsByTypeAndClass('orgu', 'create'); parent::setTitleAndDescription(); if ($this->object->getTitle() == "__OrgUnitAdministration") { $this->tpl->setTitle($this->lng->txt("objs_orgu")); $this->tpl->setDescription($this->lng->txt("objs_orgu")); } // Check for custom icon of type if ($this->ilias->getSetting('custom_icons')) { $icons_cache = ilObjOrgUnit::getIconsCache(); $icon_file = isset($icons_cache[$this->object->getId()]) ? $icons_cache[$this->object->getId()] : ''; if ($icon_file) { $this->tpl->setTitleIcon($icon_file, $this->lng->txt("obj_" . $this->object->getType())); } } }
/** * called by prepare output */ public function setTitleAndDescription() { # all possible create permissions //$possible_ops_ids = $rbacreview->getOperationsByTypeAndClass('orgu', 'create'); parent::setTitleAndDescription(); if ($this->object->getTitle() == "__OrgUnitAdministration") { $this->tpl->setTitle($this->lng->txt("objs_orgu")); } $this->tpl->setDescription($this->lng->txt("objs_orgu")); }
/** * called by prepare output */ function setTitleAndDescription() { global $lng; parent::setTitleAndDescription(); $this->tpl->setDescription(""); if (!ilContainer::_lookupContainerSetting($this->object->getId(), "hide_header_icon_and_title")) { if ($this->object->getTitle() == "ILIAS") { $this->tpl->setTitle($lng->txt("repository")); } else { if ($this->object->getDescription() != "") { $this->tpl->setDescription($this->object->getDescription()); // #13479 } } } }