ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 10 of file class.ilExcRepoObjAssignmentInfo.php.
|
protected |
Constructor.
int | $a_assignment_id | |
int[] | $a_ref_ids ref ids |
Definition at line 53 of file class.ilExcRepoObjAssignmentInfo.php.
References $is_user_submission, and ilExAssignmentTypes\getInstance().
ilExcRepoObjAssignmentInfo::getExerciseId | ( | ) |
Get exercise id.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 111 of file class.ilExcRepoObjAssignmentInfo.php.
References $exc_id.
ilExcRepoObjAssignmentInfo::getExerciseTitle | ( | ) |
Get exercise title.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 119 of file class.ilExcRepoObjAssignmentInfo.php.
References $exc_title.
ilExcRepoObjAssignmentInfo::getId | ( | ) |
Get assignment id.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 74 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 140 of file class.ilExcRepoObjAssignmentInfo.php.
References $ass_types, $DIC, $is_user_submission, $ref_ids, 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 91 of file class.ilExcRepoObjAssignmentInfo.php.
References ilLink\_getLink().
ilExcRepoObjAssignmentInfo::getReadableRefIds | ( | ) |
Get readable ref IDs.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 127 of file class.ilExcRepoObjAssignmentInfo.php.
References $ref_ids.
ilExcRepoObjAssignmentInfo::getTitle | ( | ) |
Get assignment title.
Implements ilExcRepoObjAssignmentInfoInterface.
Definition at line 82 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 103 of file class.ilExcRepoObjAssignmentInfo.php.
References $is_user_submission.
|
protected |
Definition at line 30 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getInfo().
|
protected |
Definition at line 45 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getExerciseId().
|
protected |
Definition at line 40 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getExerciseTitle().
|
protected |
Definition at line 15 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getId().
|
protected |
Definition at line 35 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by __construct(), getInfo(), and isUserSubmission().
|
protected |
Definition at line 20 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getInfo(), and getReadableRefIds().
|
protected |
Definition at line 25 of file class.ilExcRepoObjAssignmentInfo.php.
Referenced by getTitle().