ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCourseParticipantsGroupsGUI Class Reference

Class ilCourseParticipantsGroupsGUI. More...

+ Collaboration diagram for ilCourseParticipantsGroupsGUI:

Public Member Functions

 __construct ($a_ref_id)
 
 executeCommand ()
 
 show ()
 

Protected Attributes

ilAccessHandler $access
 
ilLanguage $lng
 
ilCtrlInterface $ctrl
 
ilErrorHandling $error
 
ilGlobalTemplateInterface $tpl
 
ilObjectDataCache $objectDataCache
 
GlobalHttpState $http
 
Factory $refinery
 
UIServices $ui_services
 
ilDataFactory $data_factory
 
ilTree $tree
 
ilUIService $ui_service
 

Private Attributes

int $ref_id = 0
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilCourseParticipantsGroupsGUI::__construct (   $a_ref_id)

Definition at line 48 of file class.ilCourseParticipantsGroupsGUI.php.

49 {
50 global $DIC;
51
52 $this->access = $DIC->access();
53 $this->ctrl = $DIC->ctrl();
54 $this->lng = $DIC->language();
55 $this->error = $DIC['ilErr'];
56 $this->tpl = $DIC->ui()->mainTemplate();
57 $this->objectDataCache = $DIC['ilObjDataCache'];
58 $this->http = $DIC->http();
59 $this->refinery = $DIC->refinery();
60 $this->tree = $DIC->repositoryTree();
61 $this->ui_services = $DIC->ui();
62 $this->ui_service = $DIC->uiService();
63 $this->data_factory = new ilDataFactory();
64
65 $this->ref_id = $a_ref_id;
66 }
error(string $a_errmsg)
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilCourseParticipantsGroupsGUI::executeCommand ( )

Definition at line 68 of file class.ilCourseParticipantsGroupsGUI.php.

68 : void
69 {
70 if (!$this->access->checkRbacOrPositionPermissionAccess('manage_members', 'manage_members', $this->ref_id)) {
71 $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->WARNING);
72 }
73 $cmd = $this->ctrl->getCmd();
74 if (!$cmd) {
75 $cmd = "show";
76 }
77 $this->$cmd();
78 }

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), error(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ show()

ilCourseParticipantsGroupsGUI::show ( )

Definition at line 80 of file class.ilCourseParticipantsGroupsGUI.php.

80 : void
81 {
83 $this,
84 $this->tree,
85 $this->access,
86 $this->ui_services,
87 $this->ref_id
88 );
89 $data_retrieval->init();
91 $data_retrieval,
92 $this->ui_services,
93 $this->ui_service,
94 $this->http,
95 $this->refinery,
96 $this->lng,
97 $this->ctrl,
98 $this->data_factory,
99 $this->tpl,
100 $this->access,
101 $this->objectDataCache
102 );
103 $tbl_gui->handleCommands();
104 $this->tpl->setContent($tbl_gui->getHTML());
105 }

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Field Documentation

◆ $access

ilAccessHandler ilCourseParticipantsGroupsGUI::$access
protected

Definition at line 35 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $ctrl

ilCtrlInterface ilCourseParticipantsGroupsGUI::$ctrl
protected

Definition at line 37 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $data_factory

ilDataFactory ilCourseParticipantsGroupsGUI::$data_factory
protected

Definition at line 44 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $error

ilErrorHandling ilCourseParticipantsGroupsGUI::$error
protected

Definition at line 38 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $http

GlobalHttpState ilCourseParticipantsGroupsGUI::$http
protected

Definition at line 41 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $lng

ilLanguage ilCourseParticipantsGroupsGUI::$lng
protected

Definition at line 36 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $objectDataCache

ilObjectDataCache ilCourseParticipantsGroupsGUI::$objectDataCache
protected

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

◆ $ref_id

int ilCourseParticipantsGroupsGUI::$ref_id = 0
private

Definition at line 33 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $refinery

Factory ilCourseParticipantsGroupsGUI::$refinery
protected

Definition at line 42 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $tpl

ilGlobalTemplateInterface ilCourseParticipantsGroupsGUI::$tpl
protected

Definition at line 39 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $tree

ilTree ilCourseParticipantsGroupsGUI::$tree
protected

Definition at line 45 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $ui_service

ilUIService ilCourseParticipantsGroupsGUI::$ui_service
protected

Definition at line 46 of file class.ilCourseParticipantsGroupsGUI.php.

◆ $ui_services

UIServices ilCourseParticipantsGroupsGUI::$ui_services
protected

Definition at line 43 of file class.ilCourseParticipantsGroupsGUI.php.


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