ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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
 executeCommand ()
 deleteUnits ()

Data Fields

const REQUEST_PARAM_SUB_CONTEXT = 'context'

Protected Member Functions

 getDefaultCommand ()
 showUnitCategories (array $categories)
- Protected Member Functions inherited from ilUnitConfigurationGUI
 getCategoryById ($id, $for_CRUD=true)
 handleSubtabs ()
 checkPermissions ($cmd)
 confirmDeleteUnit ()
 confirmDeleteUnits ()
 saveOrder ()
 saveUnit ()
 Save a unit.
 showUnitModificationForm ()
 addUnit ()
 Adds a new unit.
 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

ilGlobalUnitConfigurationGUI::getDefaultCommand ( )
protected
Returns
string

Reimplemented from ilUnitConfigurationGUI.

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

{
return 'showGlobalUnitCategories';
}
ilGlobalUnitConfigurationGUI::getUniqueId ( )
Returns
string

Reimplemented from ilUnitConfigurationGUI.

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

{
return $this->repository->getConsumerId() . '_global';
}
ilGlobalUnitConfigurationGUI::getUnitCategoryOverviewCommand ( )
Returns
string

Reimplemented from ilUnitConfigurationGUI.

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

Referenced by showUnitCategories().

{
return 'showGlobalUnitCategories';
}

+ Here is the caller graph for this function:

ilGlobalUnitConfigurationGUI::isCRUDContext ( )
Returns
boolean

Reimplemented from ilUnitConfigurationGUI.

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

{
return true;
}
ilGlobalUnitConfigurationGUI::showUnitCategories ( array  $categories)
protected
Parameters
array$categories

Reimplemented from ilUnitConfigurationGUI.

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

References getUnitCategoryOverviewCommand().

{
require_once 'Modules/TestQuestionPool/classes/tables/class.ilGlobalUnitCategoryTableGUI.php';
$table->setData($categories);
$this->tpl->setContent($table->getHTML());
}

+ Here is the call graph for this function:

Field Documentation

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: