ILIAS  release_8 Revision v8.24
ilLOMemberTestResultGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilLOMemberTestResultGUI:

Public Member Functions

 __construct (ilObjectGUI $parent_gui, ilObject $parent, int $a_user_id)
 
 executeCommand ()
 
 getParentObject ()
 
 getParentGUI ()
 
 getUserId ()
 

Protected Member Functions

 viewResult ()
 View results. More...
 

Protected Attributes

ilCtrlInterface $ctrl
 
ilGlobalTemplateInterface $tpl
 

Private Attributes

ilObject $container
 
ilObjectGUI $container_gui
 
int $user_id
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning test result overview

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e @ilCtrl_isCalledBy ilLOMemberTestResultGUI: ilObjCourseGUI

Definition at line 25 of file class.ilLOMemberTestResultGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilLOMemberTestResultGUI::__construct ( ilObjectGUI  $parent_gui,
ilObject  $parent,
int  $a_user_id 
)

Definition at line 34 of file class.ilLOMemberTestResultGUI.php.

35 {
36 global $DIC;
37
38 $this->container_gui = $parent_gui;
39 $this->container = $parent;
40 $this->user_id = $a_user_id;
41
42 $this->ctrl = $DIC->ctrl();
43 $this->tpl = $DIC->ui()->mainTemplate();
44 }
global $DIC
Definition: feed.php:28

References $DIC, and ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilLOMemberTestResultGUI::executeCommand ( )

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

46 : void
47 {
48 $next_class = $this->ctrl->getNextClass($this);
49 $cmd = $this->ctrl->getCmd();
50
51 switch ($next_class) {
52
53 default:
54 if (!$cmd) {
55 $cmd = 'viewResult';
56 }
57 $this->$cmd();
58 break;
59 }
60 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getParentGUI()

ilLOMemberTestResultGUI::getParentGUI ( )

Definition at line 67 of file class.ilLOMemberTestResultGUI.php.

68 {
70 }
Class ilObjectGUI Basic methods of all Output classes.

References $container_gui.

◆ getParentObject()

ilLOMemberTestResultGUI::getParentObject ( )

Definition at line 62 of file class.ilLOMemberTestResultGUI.php.

62 : ilObject
63 {
64 return $this->container;
65 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $container.

Referenced by viewResult().

+ Here is the caller graph for this function:

◆ getUserId()

ilLOMemberTestResultGUI::getUserId ( )

Definition at line 72 of file class.ilLOMemberTestResultGUI.php.

72 : int
73 {
74 return $this->user_id;
75 }

References $user_id.

Referenced by viewResult().

+ Here is the caller graph for this function:

◆ viewResult()

ilLOMemberTestResultGUI::viewResult ( )
protected

View results.

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

80 : void
81 {
82 $result_table = new ilLOMemberTestResultTableGUI($this, $this->getParentObject(), 'viewResult');
83 $result_table->setUserId($this->getUserId());
84 $result_table->init();
85 $result_table->parse();
86
87 $this->tpl->setContent($result_table->getHTML());
88 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References getParentObject(), and getUserId().

+ Here is the call graph for this function:

Field Documentation

◆ $container

ilObject ilLOMemberTestResultGUI::$container
private

Definition at line 27 of file class.ilLOMemberTestResultGUI.php.

Referenced by getParentObject().

◆ $container_gui

ilObjectGUI ilLOMemberTestResultGUI::$container_gui
private

Definition at line 28 of file class.ilLOMemberTestResultGUI.php.

Referenced by getParentGUI().

◆ $ctrl

ilCtrlInterface ilLOMemberTestResultGUI::$ctrl
protected

Definition at line 31 of file class.ilLOMemberTestResultGUI.php.

◆ $tpl

ilGlobalTemplateInterface ilLOMemberTestResultGUI::$tpl
protected

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

◆ $user_id

int ilLOMemberTestResultGUI::$user_id
private

Definition at line 29 of file class.ilLOMemberTestResultGUI.php.

Referenced by getUserId().


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