ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilGlobalUnitConfigurationGUI Class Reference

Class ilGlobalUnitConfigurationGUI. More...

+ Inheritance diagram for ilGlobalUnitConfigurationGUI:
+ Collaboration diagram for ilGlobalUnitConfigurationGUI:

Public Member Functions

 getUnitCategoryOverviewCommand ()
 
 isCRUDContext ()
 
 getUniqueId ()
 
- Public Member Functions inherited from ilUnitConfigurationGUI
 getUnitCategoryOverviewCommand ()
 
 isCRUDContext ()
 
 getUniqueId ()
 
 executeCommand ()
 
 deleteUnits ()
 

Data Fields

const REQUEST_PARAM_SUB_CONTEXT = 'context'
 

Protected Member Functions

 getDefaultCommand ()
 
 showUnitCategories (array $categories)
 
- Protected Member Functions inherited from ilUnitConfigurationGUI
 getDefaultCommand ()
 
 showUnitCategories (array $categories)
 
 getCategoryById ($id, $for_CRUD=true)
 
 handleSubtabs ()
 
 checkPermissions ($cmd)
 
 confirmDeleteUnit ()
 
 confirmDeleteUnits ()
 
 saveOrder ()
 
 saveUnit ()
 Save a unit. More...
 
 showUnitModificationForm ()
 
 addUnit ()
 Adds a new unit. More...
 
 showUnitCreationForm ()
 
 confirmDeleteCategory ()
 
 confirmDeleteCategories ()
 
 deleteCategories ()
 
 initUnitCategoryForm (assFormulaQuestionUnitCategory $cat=null)
 
 addCategory ()
 
 showUnitCategoryCreationForm ()
 
 saveCategory ()
 
 showUnitCategoryModificationForm ()
 

Additional Inherited Members

- Protected Attributes inherited from ilUnitConfigurationGUI
 $unit_cat_form
 
 $unit_form
 
 $repository = null
 
 $tpl
 
 $lng
 
 $ctrl
 

Detailed Description

Member Function Documentation

◆ getDefaultCommand()

ilGlobalUnitConfigurationGUI::getDefaultCommand ( )
protected
Returns
string

Definition at line 16 of file class.ilGlobalUnitConfigurationGUI.php.

17  {
18  return 'showGlobalUnitCategories';
19  }

◆ getUniqueId()

ilGlobalUnitConfigurationGUI::getUniqueId ( )
Returns
string

Definition at line 40 of file class.ilGlobalUnitConfigurationGUI.php.

41  {
42  return $this->repository->getConsumerId() . '_global';
43  }

◆ getUnitCategoryOverviewCommand()

ilGlobalUnitConfigurationGUI::getUnitCategoryOverviewCommand ( )
Returns
string

Definition at line 24 of file class.ilGlobalUnitConfigurationGUI.php.

Referenced by showUnitCategories().

25  {
26  return 'showGlobalUnitCategories';
27  }
+ Here is the caller graph for this function:

◆ isCRUDContext()

ilGlobalUnitConfigurationGUI::isCRUDContext ( )
Returns
boolean

Definition at line 32 of file class.ilGlobalUnitConfigurationGUI.php.

33  {
34  return true;
35  }

◆ showUnitCategories()

ilGlobalUnitConfigurationGUI::showUnitCategories ( array  $categories)
protected
Parameters
array$categories

Definition at line 63 of file class.ilGlobalUnitConfigurationGUI.php.

References getUnitCategoryOverviewCommand().

64  {
65  require_once 'Modules/TestQuestionPool/classes/tables/class.ilGlobalUnitCategoryTableGUI.php';
67  $table->setData($categories);
68 
69  $this->tpl->setContent($table->getHTML());
70  }
Class ilGlobalUnitCategoryTableGUI.
+ Here is the call graph for this function:

Field Documentation

◆ REQUEST_PARAM_SUB_CONTEXT

const ilGlobalUnitConfigurationGUI::REQUEST_PARAM_SUB_CONTEXT = 'context'

Definition at line 11 of file class.ilGlobalUnitConfigurationGUI.php.


The documentation for this class was generated from the following file: