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)) {
89 $ref_id = $this->request()->getRefId();
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(
Customizing of pimple-DIC for ILIAS.
Provides fluid interface to RBAC services.
Exercise gui request wrapper.
Internal factory for data objects.
Exercise domain service (business logic)
Exercise UI frontend presentation service class.
getExerciseGUI(?int $ref_id=null)
request(?array $query_params=null, ?array $post_data=null)
Get request wrapper.
__construct(Container $DIC, InternalDataService $data_service, InternalDomainService $domain_service)
Refinery Factory $refinery
getSubmissionGUI(\ilObjExercise $exc=null, \ilExAssignment $ass=null, $member_id=null)
InternalDomainService $domain_service
InternalDataService $data_service
getRandomAssignmentGUI(\ilObjExercise $exc=null)
ilExSubmissionGUI $submission_gui
Exercise internal service.
UI for random assignment (ui)
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static http()
Fetches the global http state from ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait GlobalDICGUIServices
initGUIServices(\ILIAS\DI\Container $DIC)