ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Assignment types. More...
Public Member Functions | |
getAllIds () | |
Get all ids. More... | |
isValidId ($a_id) | |
Is valid id. More... | |
getAll () | |
Get all. More... | |
getAllActivated () | |
Get all activated. 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... | |
Protected Member Functions | |
__construct () | |
Constructor. More... | |
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 |
ilExAssignmentTypes::getAll | ( | ) |
Get all.
Definition at line 68 of file class.ilExAssignmentTypes.php.
References $id, getAllIds(), and getById().
Referenced by getAllActivated().
ilExAssignmentTypes::getAllActivated | ( | ) |
Get all activated.
Definition at line 88 of file class.ilExAssignmentTypes.php.
References getAll(), and ilExAssignmentTypeInterface\isActive().
ilExAssignmentTypes::getAllIds | ( | ) |
Get all ids.
Definition at line 37 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 | ( | $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 105 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 | ( | $a_submission_type | ) |
Get assignment type IDs for given submission type.
int | $a_submission_type |
Definition at line 148 of file class.ilExAssignmentTypes.php.
References $id, getAllIds(), and getById().
|
static |
Get instance.
Definition at line 26 of file class.ilExAssignmentTypes.php.
Referenced by ilAssignmentsTableGUI\__construct(), ilExSubmission\__construct(), ilExcRepoObjAssignmentInfo\__construct(), ilExAssignmentEditorGUI\__construct(), ilExAssignment\__construct(), ilWikiPageGUI\finalizeAssignment(), ilExSubmission\getAllAssignmentFiles(), ilExSubmission\getAssignmentFilesByUsers(), and ilExcRepoObjAssignmentInfo\getInfo().
ilExAssignmentTypes::isValidId | ( | $a_id | ) |
Is valid id.
int | $a_id |
Definition at line 55 of file class.ilExAssignmentTypes.php.
References getAllIds().