ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilTestSignatureGUI Class Reference

Signature Plugin Class. More...

+ Collaboration diagram for ilTestSignatureGUI:

Public Member Functions

 __construct (ilTestOutputGUI $testOutputGUI)
 
 executeCommand ()
 
 setTest ($test)
 
 getTest ()
 
 setTestGUI ($testGUI)
 
 getTestGUI ()
 
 setTestOutputGUI ($testOutputGUI)
 
 getTestOutputGUI ()
 

Protected Attributes

 $lng
 
 $ilCtrl
 
 $tpl
 
 $testGUI
 
 $ilTestOutputGUI
 
 $test
 
 $plugin
 

Detailed Description

Signature Plugin Class.

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 14 of file class.ilTestSignatureGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilTestSignatureGUI::__construct ( ilTestOutputGUI  $testOutputGUI)

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

References $DIC, $ilCtrl, $lng, $tpl, ilPluginAdmin\getPluginObject(), IL_COMP_MODULE, and test().

38  {
39  global $DIC;
40  $lng = $DIC['lng'];
41  $ilCtrl = $DIC['ilCtrl'];
42  $tpl = $DIC['tpl'];
43  $ilPluginAdmin = $DIC['ilPluginAdmin'];
44 
45  $this->lng = $lng;
46  $this->ilCtrl = $ilCtrl;
47  $this->tpl = $tpl;
48 
49  $this->ilTestOutputGUI = $testOutputGUI;
50  $this->test = $this->ilTestOutputGUI->object;
51 
52  $pl_names = $ilPluginAdmin->getActivePluginsForSlot(IL_COMP_MODULE, 'Test', 'tsig');
53  $pl = current($pl_names);
54  $this->plugin = ilPluginAdmin::getPluginObject(IL_COMP_MODULE, 'Test', 'tsig', $pl);
55  $this->plugin->setGUIObject($this);
56  }
This class provides processing control methods.
global $DIC
Definition: saml.php:7
Output class for assessment test execution.
const IL_COMP_MODULE
static getPluginObject($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get Plugin Object.
test()
Definition: build.php:107
+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilTestSignatureGUI::executeCommand ( )

Definition at line 58 of file class.ilTestSignatureGUI.php.

References $DIC, $ilUser, $key, $pass, $ret, ilCtrl\getCmd(), ilCtrl\getNextClass(), ilSession\set(), and test().

59  {
60  $next_class = $this->ilCtrl->getNextClass($this);
61 
62  switch ($next_class) {
63  default:
64  $ret = $this->dispatchCommand();
65  break;
66  }
67  return $ret;
68  }
This class provides processing control methods.
getNextClass($a_gui_class=null)
Get next class in the control path from the current class to the target command class.
$ret
Definition: parser.php:6
+ Here is the call graph for this function:

◆ getTest()

ilTestSignatureGUI::getTest ( )
Returns

Definition at line 99 of file class.ilTestSignatureGUI.php.

References $test.

100  {
101  return $this->test;
102  }

◆ getTestGUI()

ilTestSignatureGUI::getTestGUI ( )
Returns

Definition at line 115 of file class.ilTestSignatureGUI.php.

References $testGUI.

116  {
117  return $this->testGUI;
118  }

◆ getTestOutputGUI()

ilTestSignatureGUI::getTestOutputGUI ( )
Returns

Definition at line 131 of file class.ilTestSignatureGUI.php.

References $DIC, $ilCtrl, $ilTestOutputGUI, $ilUser, $key, $pass, $success, ilSession\set(), and test().

132  {
133  return $this->ilTestOutputGUI;
134  }
+ Here is the call graph for this function:

◆ setTest()

ilTestSignatureGUI::setTest (   $test)
Parameters
\ilObjTest$test

Definition at line 91 of file class.ilTestSignatureGUI.php.

References $test, and test().

92  {
93  $this->test = $test;
94  }
test()
Definition: build.php:107
+ Here is the call graph for this function:

◆ setTestGUI()

ilTestSignatureGUI::setTestGUI (   $testGUI)
Parameters
\ilObjTestGUI$testGUI

Definition at line 107 of file class.ilTestSignatureGUI.php.

References $testGUI.

108  {
109  $this->testGUI = $testGUI;
110  }

◆ setTestOutputGUI()

ilTestSignatureGUI::setTestOutputGUI (   $testOutputGUI)
Parameters
\ilTestOutputGUI$testOutputGUI

Definition at line 123 of file class.ilTestSignatureGUI.php.

124  {
125  $this->ilTestOutputGUI = $testOutputGUI;
126  }
Output class for assessment test execution.

Field Documentation

◆ $ilCtrl

ilTestSignatureGUI::$ilCtrl
protected

Definition at line 20 of file class.ilTestSignatureGUI.php.

Referenced by __construct(), and getTestOutputGUI().

◆ $ilTestOutputGUI

ilTestSignatureGUI::$ilTestOutputGUI
protected

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

Referenced by getTestOutputGUI().

◆ $lng

ilTestSignatureGUI::$lng
protected

Definition at line 17 of file class.ilTestSignatureGUI.php.

Referenced by __construct().

◆ $plugin

ilTestSignatureGUI::$plugin
protected

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

◆ $test

ilTestSignatureGUI::$test
protected

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

Referenced by getTest(), and setTest().

◆ $testGUI

ilTestSignatureGUI::$testGUI
protected

Definition at line 26 of file class.ilTestSignatureGUI.php.

Referenced by getTestGUI(), and setTestGUI().

◆ $tpl

ilTestSignatureGUI::$tpl
protected

Definition at line 23 of file class.ilTestSignatureGUI.php.

Referenced by __construct().


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