37 protected \ilLanguage
$lng;
47 protected \ilObjExercise
$exc;
65 ?array $query_params = null,
66 ?array $post_data = null
68 if (is_null($query_params) && is_null($post_data) && !is_null($this->
request)) {
73 $this->domain_service->refinery(),
77 if (is_null($query_params) && is_null($post_data)) {
91 return new \ilObjExerciseGUI([],
$ref_id,
true);
97 $exc = $this->
request()->getExercise();
99 return new \ilExcRandomAssignmentGUI(
102 $this->domain_service->lng(),
104 $this->domain_service->assignment()->randomAssignments($exc)
114 $exc = $this->
request()->getExercise();
117 $ass = $this->
request()->getAssignment();
119 if ($member_id === null) {
120 $member_id = $this->
request()->getMemberId();
122 return new \ilExSubmissionGUI(
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Exercise UI frontend presentation service class.
initGUIServices(\ILIAS\DI\Container $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
InternalDomainService $domain_service
Exercise internal service.
request(?array $query_params=null, ?array $post_data=null)
Get request wrapper.
getSubmissionGUI(\ilObjExercise $exc=null, \ilExAssignment $ass=null, $member_id=null)
Customizing of pimple-DIC for ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getExerciseGUI(?int $ref_id=null)
static http()
Fetches the global http state from ILIAS.
UI for random assignment (ui)
Internal factory for data objects.
InternalDataService $data_service
Exercise domain service (business logic)
trait GlobalDICGUIServices
getRandomAssignmentGUI(\ilObjExercise $exc=null)
Exercise gui request wrapper.
Refinery Factory $refinery
ilExSubmissionGUI $submission_gui