/** * Prepare the standard template for output * (Overwritten from ilObjectGUI) */ function prepareOutput() { if ($this->_isPageTranslation()) { // show the pure translation page without menu, tabs etc. $this->tpl->addBlockFile("CONTENT", "content", "tpl.adm_translate.html", "Services/Language"); $this->tpl->setHeaderPageTitle($this->lng->txt("translation")); $this->tpl->setTitle($this->lng->txt("translation") . " " . $this->lng->txt("meta_l_" . $this->object->key)); $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_lng_b.png"), $this->lng->txt("obj_" . $this->object->getType())); } else { // show the full page framework parent::prepareOutput(); } }
/** * @see ilObjectGUI::prepareOutput() */ protected function prepareOutput() { parent::prepareOutput(); if (!$this->getCreationMode()) { $title = strlen($this->object->getTitle()) ? ': ' . $this->object->getTitle() : ''; include_once './Modules/Session/classes/class.ilSessionAppointment.php'; $this->tpl->setTitle($this->object->getFirstAppointment()->appointmentToString() . $title); } }
protected final function prepareOutput() { return parent::prepareOutput(); }
/** * prepare output */ function prepareOutput($a_show_subobjects = true) { if (parent::prepareOutput()) { if ($this->getCreationMode() != true && $a_show_subobjects) { // This method is called directly from ilContainerGUI::renderObject #$this->showPossibleSubObjects(); $this->showTreeFlatIcon(); // Member view include_once './Services/Container/classes/class.ilMemberViewGUI.php'; ilMemberViewGUI::showMemberViewSwitch($this->object->getRefId()); } } }