ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Assignment types. More...
Public Member Functions | |
getAllIds () | |
isValidId ($a_id) | |
getAll () | |
Get all. More... | |
getAllActivated () | |
Get all activated. More... | |
getAllAllowed (ilObjExercise $exc) | |
Get all allowed types for an exercise for an exercise. More... | |
getById (int $a_id) | |
Get type object by id. More... | |
getIdsForSubmissionType (string $a_submission_type) | |
Get assignment type IDs for given submission type. More... | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
__construct (?Exercise\InternalService $service=null) | |
Protected Attributes | |
Exercise InternalService | $service |
Assignment types.
Gives information on available types and acts as factory to get assignment type objects.
Definition at line 27 of file class.ilExAssignmentTypes.php.
|
protected |
Definition at line 31 of file class.ilExAssignmentTypes.php.
References $DIC, $service, and null.
ilExAssignmentTypes::getAll | ( | ) |
Get all.
ilExcUnknownAssignmentTypeException |
Definition at line 69 of file class.ilExAssignmentTypes.php.
References $id, getAllIds(), and getById().
Referenced by getAllActivated().
ilExAssignmentTypes::getAllActivated | ( | ) |
Get all activated.
ilExcUnknownAssignmentTypeException |
Definition at line 88 of file class.ilExAssignmentTypes.php.
References getAll(), and ilExAssignmentTypeInterface\isActive().
Referenced by getAllAllowed().
ilExAssignmentTypes::getAllAllowed | ( | ilObjExercise | $exc | ) |
Get all allowed types for an exercise for an exercise.
ilObjExercise | $exc |
ilExcUnknownAssignmentTypeException |
Definition at line 101 of file class.ilExAssignmentTypes.php.
References getAllActivated(), and ilExAssignmentTypeInterface\usesTeams().
ilExAssignmentTypes::getAllIds | ( | ) |
Definition at line 45 of file class.ilExAssignmentTypes.php.
References ilExAssignment\TYPE_BLOG, ilExAssignment\TYPE_PORTFOLIO, ilExAssignment\TYPE_TEXT, ilExAssignment\TYPE_UPLOAD, ilExAssignment\TYPE_UPLOAD_TEAM, and ilExAssignment\TYPE_WIKI_TEAM.
Referenced by getAll(), getIdsForSubmissionType(), and isValidId().
ilExAssignmentTypes::getById | ( | int | $a_id | ) |
Get type object by id.
Centralized ID management is still an issue to be tackled in the future and caused by initial consts definition.
int | $a_id | type id |
ilExcUnknownAssignmentTypeException |
Definition at line 125 of file class.ilExAssignmentTypes.php.
References ilExAssignment\TYPE_BLOG, ilExAssignment\TYPE_PORTFOLIO, ilExAssignment\TYPE_TEXT, ilExAssignment\TYPE_UPLOAD, ilExAssignment\TYPE_UPLOAD_TEAM, and ilExAssignment\TYPE_WIKI_TEAM.
Referenced by getAll(), and getIdsForSubmissionType().
ilExAssignmentTypes::getIdsForSubmissionType | ( | string | $a_submission_type | ) |
Get assignment type IDs for given submission type.
string | $a_submission_type |
ilExcUnknownAssignmentTypeException |
Definition at line 156 of file class.ilExAssignmentTypes.php.
References $id, getAllIds(), and getById().
Referenced by ilExcRepoObjAssignmentInfo\getInfo().
|
static |
Definition at line 40 of file class.ilExAssignmentTypes.php.
Referenced by ilParticipantsPerAssignmentTableGUI\__construct(), ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\__construct(), ilExcRepoObjAssignmentInfo\__construct(), ilExSubmission\__construct(), ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\__construct(), ilExAssignment\__construct(), ilExerciseMailNotification\addOpenSubmission(), ilWikiPageGUI\finalizeAssignment(), ilExcRepoObjAssignmentInfo\getInfo(), and ilExerciseSubmissionTableGUI\parseColumns().
ilExAssignmentTypes::isValidId | ( | $a_id | ) |
Definition at line 57 of file class.ilExAssignmentTypes.php.
References getAllIds().
|
protected |
Definition at line 29 of file class.ilExAssignmentTypes.php.
Referenced by __construct().