ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 $cmd, $ilUser, $pass, $ret, ilCtrl\getCmd(), ilCtrl\getNextClass(), and ilSession\set().

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

References $test.

97  {
98  return $this->test;
99  }

◆ getTestGUI()

ilTestSignatureGUI::getTestGUI ( )
Returns

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

References $testGUI.

113  {
114  return $this->testGUI;
115  }

◆ getTestOutputGUI()

ilTestSignatureGUI::getTestOutputGUI ( )
Returns

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

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

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

◆ setTest()

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

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

References $test.

89  {
90  $this->test = $test;
91  }

◆ setTestGUI()

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

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

References $testGUI.

105  {
106  $this->testGUI = $testGUI;
107  }

◆ setTestOutputGUI()

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

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

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