OER_TITLE); $this->setImage(Icon::create('oer-campus', Icon::ROLE_NAVIGATION, ["title" => Config::get()->OER_TITLE])); } /** * Initialize the subnavigation of this item. This method * is called once before the first item is added or removed. */ public function initSubNavigation() { global $perm; parent::initSubNavigation(); $navigation = new Navigation(Config::get()->OER_TITLE, 'dispatch.php/oer/market'); $this->addSubNavigation('market', $navigation); if ($perm->have_perm('autor')) { $navigation = new Navigation(_('Meine Materialien'), 'dispatch.php/oer/mymaterial'); $this->addSubNavigation('mymaterial', $navigation); } } }