ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Repository object assignment information. More...
Public Member Functions | |
getId () | |
Get assignment id.
| |
getTitle () | |
Get assignment title.
| |
getLinks () | |
Get readable link urls to the assignment (key is the ref id)
| |
isUserSubmission () | |
Check if this object has been submitted by the user provided or its team.If not, the repository object is related to an assignment, but has been submitted by another user/team.
| |
getExerciseId () | |
Get exercise id.
| |
getExerciseTitle () | |
Get exercise title.
| |
getReadableRefIds () | |
Get readable ref IDs.
| |
Static Public Member Functions | |
static | getInfo ($a_ref_id, $a_user_id) |
Get all info objects for a ref id of an repo object. More... | |
Protected Member Functions | |
__construct ( $a_assignment_id, $a_assignment_title, $a_ref_ids, $is_user_submission, $a_exc_id, $a_exc_title) | |
Constructor. More... | |
Protected Attributes | |
$id | |
$ref_ids | |
$title | |
$ass_types | |
$is_user_submission | |
$exc_title | |
$exc_id | |
Repository object assignment information.
Definition at line 12 of file class.ilExcRepoObjAssignmentInfo.php.
|
protected |
Constructor.
int | $a_assignment_id | |
int[] | $a_ref_ids ref ids |
Definition at line 55 of file class.ilExcRepoObjAssignmentInfo.php.
References $is_user_submission, and ilExAssignmentTypes\getInstance().
ilExcRepoObjAssignmentInfo::getExerciseId | ( | ) |
Get exercise id.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 113 of file class.ilExcRepoObjAssignmentInfo.php.
References $exc_id.
ilExcRepoObjAssignmentInfo::getExerciseTitle | ( | ) |
Get exercise title.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 121 of file class.ilExcRepoObjAssignmentInfo.php.
References $exc_title.
ilExcRepoObjAssignmentInfo::getId | ( | ) |
Get assignment id.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 76 of file class.ilExcRepoObjAssignmentInfo.php.
References $id.
|
static |
Get all info objects for a ref id of an repo object.
int | $a_ref_id | ref id |
int | $a_user_id | user id |
Definition at line 142 of file class.ilExcRepoObjAssignmentInfo.php.
References $ass_types, $DIC, $is_user_submission, $ref_ids, $s, ilObject\_getAllReferences(), ilObject\_lookupTitle(), ilExAssignmentTypes\getInstance(), ilExAssignmentTeam\getInstanceByUserId(), ilExSubmission\getSubmissionsForFilename(), and ilExSubmission\TYPE_REPO_OBJECT.
Referenced by ilExcRepoObjAssignment\getAssignmentInfoOfObj().
ilExcRepoObjAssignmentInfo::getLinks | ( | ) |
Get readable link urls to the assignment (key is the ref id)
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 93 of file class.ilExcRepoObjAssignmentInfo.php.
References $links, and ilLink\_getLink().
ilExcRepoObjAssignmentInfo::getReadableRefIds | ( | ) |
Get readable ref IDs.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 129 of file class.ilExcRepoObjAssignmentInfo.php.
References $ref_ids.
ilExcRepoObjAssignmentInfo::getTitle | ( | ) |
Get assignment title.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 84 of file class.ilExcRepoObjAssignmentInfo.php.
References $title.
ilExcRepoObjAssignmentInfo::isUserSubmission | ( | ) |
Check if this object has been submitted by the user provided or its team.If not, the repository object is related to an assignment, but has been submitted by another user/team.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 105 of file class.ilExcRepoObjAssignmentInfo.php.
References $is_user_submission.
|
protected |
Definition at line 32 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getInfo().
|
protected |
Definition at line 47 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getExerciseId().
|
protected |
Definition at line 42 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getExerciseTitle().
|
protected |
Definition at line 17 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getId().
|
protected |
Definition at line 37 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by __construct(), getInfo(), and isUserSubmission().
|
protected |
Definition at line 22 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getInfo(), and getReadableRefIds().
|
protected |
Definition at line 27 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getTitle().