|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Assignment types. More...
Collaboration diagram for ilExAssignmentTypes:Public Member Functions | |
| getAllIds () | |
| Get all ids. More... | |
| isValidId ($a_id) | |
| Is valid id. More... | |
| getAll () | |
| Get all. More... | |
| getAllActivated () | |
| Get all activated. More... | |
| getAllAllowed (ilObjExercise $exc) | |
| Get all allowed types for an exercise for an exercise. More... | |
| getById ($a_id) | |
| Get type object by id. More... | |
| getIdsForSubmissionType ($a_submission_type) | |
| Get assignment type IDs for given submission type. More... | |
Static Public Member Functions | |
| static | getInstance () |
| Get instance. More... | |
Data Fields | |
| const | STR_IDENTIFIER_PORTFOLIO = "prtf" |
Protected Member Functions | |
| __construct (ilExerciseInternalService $service=null) | |
| Constructor. More... | |
Protected Attributes | |
| $service | |
Assignment types.
Gives information on available types and acts as factory to get assignment type objects.
Definition at line 12 of file class.ilExAssignmentTypes.php.
|
protected |
Constructor.
Definition at line 25 of file class.ilExAssignmentTypes.php.
| ilExAssignmentTypes::getAll | ( | ) |
Get all.
return
Definition at line 81 of file class.ilExAssignmentTypes.php.
References 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.
return
Definition at line 101 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 |
Definition at line 114 of file class.ilExAssignmentTypes.php.
References getAllActivated(), and ilExAssignmentTypeInterface\usesTeams().
Here is the call graph for this function:| ilExAssignmentTypes::getAllIds | ( | ) |
Get all ids.
return
Definition at line 50 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 | ( | $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 |
Definition at line 137 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 | ( | $a_submission_type | ) |
Get assignment type IDs for given submission type.
| int | $a_submission_type |
Definition at line 174 of file class.ilExAssignmentTypes.php.
References getAllIds(), and getById().
Here is the call graph for this function:
|
static |
Get instance.
Definition at line 39 of file class.ilExAssignmentTypes.php.
Referenced by ilExcRepoObjAssignmentInfo\__construct(), ilExAssignmentEditorGUI\__construct(), ilExAssignment\__construct(), ilAssignmentsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilExSubmission\__construct(), ilWikiPageGUI\finalizeAssignment(), ilExSubmission\getAllAssignmentFiles(), ilExSubmission\getAssignmentFilesByUsers(), and ilExcRepoObjAssignmentInfo\getInfo().
Here is the caller graph for this function:| ilExAssignmentTypes::isValidId | ( | $a_id | ) |
Is valid id.
| int | $a_id |
Definition at line 68 of file class.ilExAssignmentTypes.php.
References getAllIds().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file class.ilExAssignmentTypes.php.
Referenced by __construct().
| const ilExAssignmentTypes::STR_IDENTIFIER_PORTFOLIO = "prtf" |
Definition at line 14 of file class.ilExAssignmentTypes.php.
Referenced by ilExAssTypePortfolio\getStringIdentifier().