|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilExAssignmentTeam:Public Member Functions | |
| __construct (?int $a_id=null) | |
| getId () | |
| createTeam (int $a_assignment_id, int $a_user_id) | |
| getMembers () | |
| getMembersOfAllTeams () | |
| Get members for all teams of assignment. More... | |
| addTeamMember (int $a_user_id, ?int $a_exc_ref_id=null) | |
| removeTeamMember (int $a_user_id, ?int $a_exc_ref_id=null) | |
| writeLog (string $a_action, string $a_details=null) | |
| getLog () | |
| sendNotification (int $a_exc_ref_id, int $a_user_id, string $a_action) | |
| Send notification about team status. More... | |
| createRandomTeams (int $a_exercise_id, int $a_assignment_id, int $a_number_teams, int $a_min_participants) | |
| Create random teams for assignment type "team upload" following specific rules. More... | |
Static Public Member Functions | |
| static | getInstanceByUserId (int $a_assignment_id, int $a_user_id, bool $a_create_on_demand=false) |
| static | getInstancesFromMap (int $a_assignment_id) |
| static | getTeamId (int $a_assignment_id, int $a_user_id, bool $a_create_on_demand=false) |
| static | getAssignmentTeamMap (int $a_ass_id) |
| static | writeTeamLog (int $a_team_id, string $a_action, string $a_details=null) |
| Add entry to team log. More... | |
| static | getAdoptableTeamAssignments (int $a_exercise_id, int $a_exclude_ass_id=null, int $a_user_id=null) |
| static | adoptTeams (int $a_source_ass_id, int $a_target_ass_id, int $a_user_id=null, int $a_exc_ref_id=null) |
| static | getAdoptableGroups (int $a_exc_ref_id) |
| static | getGroupMembersMap (int $a_exc_ref_id) |
Data Fields | |
| const | TEAM_LOG_CREATE_TEAM = 1 |
| const | TEAM_LOG_ADD_MEMBER = 2 |
| const | TEAM_LOG_REMOVE_MEMBER = 3 |
| const | TEAM_LOG_ADD_FILE = 4 |
| const | TEAM_LOG_REMOVE_FILE = 5 |
Protected Member Functions | |
| read (int $a_id) | |
| cleanLog () | |
| Remove obsolete log entries. More... | |
Protected Attributes | |
| ilDBInterface | $db |
| ilObjUser | $user |
| int | $id = null |
| int | $assignment_id |
| array | $members = array() |
Private Member Functions | |
| setId (?int $a_id) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Exercise assignment team
Definition at line 25 of file class.ilExAssignmentTeam.php.
| ilExAssignmentTeam::__construct | ( | ?int | $a_id = null | ) |
Definition at line 39 of file class.ilExAssignmentTeam.php.
References $DIC, read(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilExAssignmentTeam::addTeamMember | ( | int | $a_user_id, |
| ?int | $a_exc_ref_id = null |
||
| ) |
| ilExcUnknownAssignmentTypeException |
Definition at line 207 of file class.ilExAssignmentTeam.php.
|
static |
| ilExcUnknownAssignmentTypeException |
Definition at line 453 of file class.ilExAssignmentTeam.php.
Referenced by ilExSubmissionTeamGUI\createAdoptedTeamObject(), and ilExAssignmentEditorGUI\generateTeams().
Here is the caller graph for this function:
|
protected |
Remove obsolete log entries.
As there is no proper team deletion event, we are doing it this way
Definition at line 348 of file class.ilExAssignmentTeam.php.
References $ilDB.
| ilExAssignmentTeam::createRandomTeams | ( | int | $a_exercise_id, |
| int | $a_assignment_id, | ||
| int | $a_number_teams, | ||
| int | $a_min_participants | ||
| ) |
Create random teams for assignment type "team upload" following specific rules.
example:
| ilExcUnknownAssignmentTypeException | |
| Exception |
Definition at line 571 of file class.ilExAssignmentTeam.php.
| ilExAssignmentTeam::createTeam | ( | int | $a_assignment_id, |
| int | $a_user_id | ||
| ) |
Definition at line 156 of file class.ilExAssignmentTeam.php.
|
static |
| int | $a_exc_ref_id |
Definition at line 526 of file class.ilExAssignmentTeam.php.
Referenced by ilExerciseManagementGUI\membersObject().
Here is the caller graph for this function:
|
static |
Definition at line 399 of file class.ilExAssignmentTeam.php.
Referenced by ilExSubmissionTeamGUI\createTeamObject(), and ilExSubmissionTeamGUI\getAdoptForm().
Here is the caller graph for this function:
|
static |
Definition at line 273 of file class.ilExAssignmentTeam.php.
Referenced by ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilExAssignmentEditorGUI\generateTeams(), ilExSubmissionTeamGUI\getAdoptForm(), ilAssignmentsPerParticipantTableGUI\parseData(), and ilParticipantsPerAssignmentTableGUI\parseData().
Here is the caller graph for this function:
|
static |
Definition at line 544 of file class.ilExAssignmentTeam.php.
References $res, ilObject\_lookupTitle(), and ilArrayUtil\sortArray().
Referenced by ilExerciseManagementGUI\createTeamsFromGroupsObject(), and ilExerciseManagementGUI\initGroupForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentTeam::getId | ( | ) |
Definition at line 78 of file class.ilExAssignmentTeam.php.
References $id.
|
static |
Definition at line 50 of file class.ilExAssignmentTeam.php.
Referenced by ilExSubmission\__construct(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilExerciseManagementGUI\createTeamsObject(), ilExerciseManagementGUI\dissolveTeamsObject(), and ilExcRepoObjAssignmentInfo\getInfo().
Here is the caller graph for this function:
|
static |
Definition at line 59 of file class.ilExAssignmentTeam.php.
References $res.
Referenced by ilExerciseManagementGUI\initIndividualDeadlineForm(), and ilParticipantsPerAssignmentTableGUI\parseData().
Here is the caller graph for this function:| ilExAssignmentTeam::getLog | ( | ) |
Definition at line 325 of file class.ilExAssignmentTeam.php.
| ilExAssignmentTeam::getMembers | ( | ) |
Definition at line 176 of file class.ilExAssignmentTeam.php.
| ilExAssignmentTeam::getMembersOfAllTeams | ( | ) |
Get members for all teams of assignment.
Definition at line 185 of file class.ilExAssignmentTeam.php.
References $ilDB.
|
static |
Definition at line 109 of file class.ilExAssignmentTeam.php.
References $id.
Referenced by ilExAssignment\canParticipantReceiveFeedback(), ilExerciseManagementCollectFilesJob\collectAssignmentData(), ilExSubmissionTeamGUI\createAdoptedTeamObject(), ilExSubmissionTeamGUI\createSingleMemberTeamObject(), ilExSubmissionTeamGUI\createTeamObject(), and ilExAssignment\getPersonalDeadline().
Here is the caller graph for this function:
|
protected |
Definition at line 88 of file class.ilExAssignmentTeam.php.
References $ilDB.
Referenced by __construct().
Here is the caller graph for this function:| ilExAssignmentTeam::removeTeamMember | ( | int | $a_user_id, |
| ?int | $a_exc_ref_id = null |
||
| ) |
| ilExcUnknownAssignmentTypeException |
Definition at line 244 of file class.ilExAssignmentTeam.php.
Referenced by ilExSubmission\deleteUser().
Here is the caller graph for this function:| ilExAssignmentTeam::sendNotification | ( | int | $a_exc_ref_id, |
| int | $a_user_id, | ||
| string | $a_action | ||
| ) |
Send notification about team status.
| ilExcUnknownAssignmentTypeException |
Definition at line 372 of file class.ilExAssignmentTeam.php.
|
private |
Definition at line 83 of file class.ilExAssignmentTeam.php.
| ilExAssignmentTeam::writeLog | ( | string | $a_action, |
| string | $a_details = null |
||
| ) |
Definition at line 291 of file class.ilExAssignmentTeam.php.
|
static |
Add entry to team log.
Definition at line 301 of file class.ilExAssignmentTeam.php.
|
protected |
Definition at line 36 of file class.ilExAssignmentTeam.php.
|
protected |
Definition at line 33 of file class.ilExAssignmentTeam.php.
|
protected |
Definition at line 35 of file class.ilExAssignmentTeam.php.
|
protected |
Definition at line 37 of file class.ilExAssignmentTeam.php.
|
protected |
Definition at line 34 of file class.ilExAssignmentTeam.php.
| const ilExAssignmentTeam::TEAM_LOG_ADD_FILE = 4 |
Definition at line 30 of file class.ilExAssignmentTeam.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignmentTeam::TEAM_LOG_ADD_MEMBER = 2 |
Definition at line 28 of file class.ilExAssignmentTeam.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignmentTeam::TEAM_LOG_CREATE_TEAM = 1 |
Definition at line 27 of file class.ilExAssignmentTeam.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignmentTeam::TEAM_LOG_REMOVE_FILE = 5 |
Definition at line 31 of file class.ilExAssignmentTeam.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().
| const ilExAssignmentTeam::TEAM_LOG_REMOVE_MEMBER = 3 |
Definition at line 29 of file class.ilExAssignmentTeam.php.
Referenced by ilExAssignmentTeamLogTableGUI\getItems().