ILIAS  release_4-4 Revision
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 
4 require_once 'Modules/TestQuestionPool/classes/tables/class.ilUnitCategoryTableGUI.php';
5 
10 {
14  protected function populateTitle()
15  {
16  if($this->getParentObject()->isCRUDContext())
17  {
18  $this->setTitle($this->lng->txt('un_local_units') . ': ' . $this->lng->txt('categories'));
19  }
20  else
21  {
22  $this->setTitle($this->lng->txt('un_global_units') . ': ' . $this->lng->txt('categories'));
23  }
24  }
25 }
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
Class ilUnitCategoryTableGUI .
Class ilLocalUnitCategoryTableGUI.