ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilLocalUnitCategoryTableGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Modules/TestQuestionPool/classes/tables/class.ilUnitCategoryTableGUI.php';
5
10{
14 protected function populateTitle()
15 {
16 if ($this->getParentObject()->isCRUDContext()) {
17 $this->setTitle($this->lng->txt('un_local_units') . ': ' . $this->lng->txt('categories'));
18 } else {
19 $this->setTitle($this->lng->txt('un_global_units') . ': ' . $this->lng->txt('categories'));
20 }
21 }
22}
An exception for terminatinating execution or to throw for unit testing.
Class ilLocalUnitCategoryTableGUI.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
Class ilUnitCategoryTableGUI @abstract.