|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Assignments domain service. More...
Collaboration diagram for ILIAS\Exercise\Assignment\DomainService: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.
References $user_id.
| ILIAS\Exercise\Assignment\DomainService::getAssignment | ( | int | $ass_id | ) |
ilExcUnknownAssignmentTypeException
Definition at line 150 of file class.DomainService.php.
References $ass_id.
| ILIAS\Exercise\Assignment\DomainService::instructionFiles | ( | int | $ass_id | ) |
Definition at line 99 of file class.DomainService.php.
References $ass_id.
| ILIAS\Exercise\Assignment\DomainService::mandatoryAssignments | ( | \ilObjExercise | $exercise | ) |
Get mandatory assignment manager.
ilExcUnknownAssignmentTypeException
Definition at line 85 of file class.DomainService.php.
References $exercise, ilObject\getId(), and ILIAS\Exercise\Assignment\DomainService\randomAssignments().
Here is the call graph for this function:| 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 $exercise, and ilObject\getId().
Referenced by ILIAS\Exercise\Assignment\DomainService\mandatoryAssignments().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Exercise\Assignment\DomainService::sampleSolution | ( | int | $ass_id | ) |
Definition at line 109 of file class.DomainService.php.
References $ass_id.
| 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.
References $ass_id.
| 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().
|
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().