ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 $ilCtrl, $lng, $tpl, ilPluginAdmin\getPluginObject(), and IL_COMP_MODULE.

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

Member Function Documentation

◆ executeCommand()

ilTestSignatureGUI::executeCommand ( )

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

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

55  {
56  $next_class = $this->ilCtrl->getNextClass($this);
57 
58  switch ($next_class) {
59  default:
60  $ret = $this->dispatchCommand();
61  break;
62  }
63  return $ret;
64  }
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 94 of file class.ilTestSignatureGUI.php.

References $test.

95  {
96  return $this->test;
97  }

◆ getTestGUI()

ilTestSignatureGUI::getTestGUI ( )
Returns

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

References $testGUI.

111  {
112  return $this->testGUI;
113  }

◆ getTestOutputGUI()

ilTestSignatureGUI::getTestOutputGUI ( )
Returns

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

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

127  {
128  return $this->ilTestOutputGUI;
129  }
+ Here is the call graph for this function:

◆ setTest()

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

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

References $test.

87  {
88  $this->test = $test;
89  }

◆ setTestGUI()

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

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

References $testGUI.

103  {
104  $this->testGUI = $testGUI;
105  }

◆ setTestOutputGUI()

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

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

119  {
120  $this->ilTestOutputGUI = $testOutputGUI;
121  }
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: