Exercise UI frontend presentation service class.
More...
Exercise UI frontend presentation service class.
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 32 of file class.InternalGUIService.php.
◆ __construct()
◆ getExerciseGUI()
| ILIAS\Exercise\InternalGUIService::getExerciseGUI |
( |
?int |
$ref_id = null | ) |
|
◆ getRandomAssignmentGUI()
| ILIAS\Exercise\InternalGUIService::getRandomAssignmentGUI |
( |
\ilObjExercise |
$exc = null | ) |
|
◆ getSubmissionGUI()
Definition at line 108 of file class.InternalGUIService.php.
115 }
116 if ($ass === null) {
117 $ass = $this->
request()->getAssignment();
118 }
119 if ($member_id === null) {
120 $member_id = $this->
request()->getMemberId();
121 }
122 return new \ilExSubmissionGUI(
124 $ass,
125 $member_id
126 );
127 }
◆ request()
| ILIAS\Exercise\InternalGUIService::request |
( |
?array |
$query_params = null, |
|
|
?array |
$post_data = null |
|
) |
| |
Get request wrapper.
If dummy data is provided the usual http wrapper will not be used.
- Returns
- GUIRequest
Definition at line 64 of file class.InternalGUIService.php.
67 : GUIRequest {
68 if (is_null($query_params) && is_null($post_data) && !is_null($this->
request)) {
70 }
73 $this->domain_service->refinery(),
74 $query_params,
75 $post_data
76 );
77 if (is_null($query_params) && is_null($post_data)) {
79 }
81 }
static http()
Fetches the global http state from ILIAS.
References ILIAS\Exercise\InternalGUIService\$request.
◆ $ctrl
| ilCtrl ILIAS\Exercise\InternalGUIService::$ctrl |
|
protected |
◆ $data_service
◆ $domain_service
◆ $exc
◆ $http
| HTTP Services ILIAS\Exercise\InternalGUIService::$http |
|
protected |
◆ $lng
| ilLanguage ILIAS\Exercise\InternalGUIService::$lng |
|
protected |
◆ $refinery
| Refinery Factory ILIAS\Exercise\InternalGUIService::$refinery |
|
protected |
◆ $request
| GUIRequest ILIAS\Exercise\InternalGUIService::$request = null |
|
protected |
◆ $service
◆ $submission_gui
◆ $toolbar
The documentation for this class was generated from the following file: