ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Assignments domain service. More...
Public Member Functions | |
__construct (InternalDomainService $domain_service, InternalRepoService $repo_service) | |
assignments (int $obj_id, int $user_id) | |
randomAssignments (\ilObjExercise $exercise, ?\ilObjUser $user=null) | |
Get random assignment manager. More... | |
mandatoryAssignments (\ilObjExercise $exercise) | |
Get mandatory assignment manager. More... | |
state (int $ass_id, int $user_id) | |
instructionFiles (int $ass_id) | |
sampleSolution (int $ass_id) | |
tutorFeedbackFile (int $ass_id) | |
tutorFeedbackZip () | |
getAssignment (int $ass_id) | |
Protected Attributes | |
InternalDomainService | $domain_service |
InternalRepoService | $repo_service |
Static Protected Attributes | |
static array | $managers = [] |
Assignments domain service.
Definition at line 35 of file class.DomainService.php.
ILIAS\Exercise\Assignment\DomainService::__construct | ( | InternalDomainService | $domain_service, |
InternalRepoService | $repo_service | ||
) |
Definition at line 44 of file class.DomainService.php.
References ILIAS\Exercise\Assignment\DomainService\$domain_service, and ILIAS\Exercise\Assignment\DomainService\$repo_service.
ILIAS\Exercise\Assignment\DomainService::assignments | ( | int | $obj_id, |
int | $user_id | ||
) |
Definition at line 53 of file class.DomainService.php.
ILIAS\Exercise\Assignment\DomainService::getAssignment | ( | int | $ass_id | ) |
ILIAS\Exercise\Assignment\DomainService::instructionFiles | ( | int | $ass_id | ) |
Definition at line 99 of file class.DomainService.php.
ILIAS\Exercise\Assignment\DomainService::mandatoryAssignments | ( | \ilObjExercise | $exercise | ) |
Get mandatory assignment manager.
Definition at line 85 of file class.DomainService.php.
References ilObject\getId(), and ILIAS\Exercise\Assignment\DomainService\randomAssignments().
ILIAS\Exercise\Assignment\DomainService::randomAssignments | ( | \ilObjExercise | $exercise, |
?\ilObjUser | $user = null |
||
) |
Get random assignment manager.
The manager is used if the "Pass Mode" is set to "Random Selection" in the exercise settings.
Definition at line 67 of file class.DomainService.php.
References ilObject\getId().
Referenced by ILIAS\Exercise\Assignment\DomainService\mandatoryAssignments().
ILIAS\Exercise\Assignment\DomainService::sampleSolution | ( | int | $ass_id | ) |
Definition at line 109 of file class.DomainService.php.
References ILIAS\Exercise\Assignment\DomainService\$domain_service.
ILIAS\Exercise\Assignment\DomainService::state | ( | int | $ass_id, |
int | $user_id | ||
) |
Definition at line 94 of file class.DomainService.php.
ILIAS\Exercise\Assignment\DomainService::tutorFeedbackFile | ( | int | $ass_id | ) |
Definition at line 120 of file class.DomainService.php.
ILIAS\Exercise\Assignment\DomainService::tutorFeedbackZip | ( | ) |
Definition at line 135 of file class.DomainService.php.
|
protected |
Definition at line 37 of file class.DomainService.php.
Referenced by ILIAS\Exercise\Assignment\DomainService\__construct(), and ILIAS\Exercise\Assignment\DomainService\sampleSolution().
|
staticprotected |
Definition at line 42 of file class.DomainService.php.
|
protected |
Definition at line 38 of file class.DomainService.php.
Referenced by ILIAS\Exercise\Assignment\DomainService\__construct().