44         string $a_assignment_title,
    46         bool $is_user_submission,
    50         $this->
id = $a_assignment_id;
    51         $this->title = $a_assignment_title;
    52         $this->ref_ids = $a_ref_ids;
    55         $this->exc_id = $a_exc_id;
    56         $this->exc_title = $a_exc_title;
    76         foreach ($this->ref_ids as 
$ref_id) {
    77             $links[
$ref_id] = ilLink::_getLink($ref_id, 
"exc", array(), 
"_" . $this->
id);
   113     public static function getInfo(
int $a_ref_id, 
int $a_user_id): array
   117         $access = $DIC->access();
   124         $submissions = array_merge($submissions1, $submissions2);
   126         foreach ($submissions as $s) {
   132             $is_user_submission = $team->getId() > 0 && $team->getId() == $s[
"team_id"];
   136             $readable_ref_ids = array();
   137             foreach ($ref_ids as 
$ref_id) {
   138                 if ($a_user_id > 0 && !$access->checkAccessOfUser($a_user_id, 
"read", 
"", $ref_id)) {
   143             $ass_info[] = 
new self(
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _getAllReferences(int $id)
get all reference ids for object ID 
 
static getInstanceByUserId(int $a_assignment_id, int $a_user_id, bool $a_create_on_demand=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static getInfo(int $a_ref_id, int $a_user_id)
Get all info objects for a ref id of an repo object. 
 
static _lookupTitle(int $obj_id)
 
isUserSubmission()
Check if this object has been submitted by the user provided or its team. 
 
getIdsForSubmissionType(string $a_submission_type)
Get assignment type IDs for given submission type. 
 
ilExAssignmentTypes $ass_types
 
__construct(int $a_assignment_id, string $a_assignment_title, array $a_ref_ids, bool $is_user_submission, int $a_exc_id, string $a_exc_title)
 
static getSubmissionsForFilename(string $a_filename, array $a_assignment_types=array())
Get assignment return entries for a filename.