|
ILIAS
release_8 Revision v8.24
|
Assignment types. More...
Collaboration diagram for ilExAssignmentTypes: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.
| ilExAssignmentTypes::getAll | ( | ) |
Get all.
| ilExcUnknownAssignmentTypeException |
Definition at line 69 of file class.ilExAssignmentTypes.php.
References $id, getAllIds(), and getById().
Referenced by getAllActivated().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentTypes::getAllActivated | ( | ) |
Get all activated.
| ilExcUnknownAssignmentTypeException |
Definition at line 88 of file class.ilExAssignmentTypes.php.
References getAll(), and ilExAssignmentTypeInterface\isActive().
Referenced by getAllAllowed().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 40 of file class.ilExAssignmentTypes.php.
Referenced by ilExAssignment\__construct(), ilExSubmission\__construct(), ilExcRepoObjAssignmentInfo\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilWikiPageGUI\finalizeAssignment(), and ilExcRepoObjAssignmentInfo\getInfo().
Here is the caller graph for this function:| ilExAssignmentTypes::isValidId | ( | $a_id | ) |
Definition at line 57 of file class.ilExAssignmentTypes.php.
References getAllIds().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file class.ilExAssignmentTypes.php.
Referenced by __construct().