|
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 ilExcAssMemberState:Static Public Member Functions | |
| static | getInstanceByIds (int $a_ass_id, int $a_user_id=0) |
| static | getInstance (ilExAssignment $a_ass, ilObjUser $a_user, ilExcIndividualDeadline $a_idl, int $a_time, ilLanguage $lng, ilExAssignmentTeam $a_team=null) |
| Usually you should prefer to use getInstanceByIds. More... | |
Protected Member Functions | |
| __construct (ilExAssignment $a_ass, ilObjUser $a_user, ilExcIndividualDeadline $a_idl, int $a_time, ilLanguage $lng, ilExAssignmentTeam $a_team=null) | |
| getTimePresentation ($a_timestamp) | |
Protected Attributes | |
| int | $ass_id |
| int | $user_id |
| ilExAssignment | $assignment |
| int | $time |
| ilLanguage | $lng |
| int | $member_id |
| either user id or team id, if this is a team assignment and the user is member of a team, in this case is_team is true More... | |
| int | $team_id = 0 |
| bool | $is_team = false |
| ilExcIndividualDeadline | $idl |
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 Handles everything about the state (current phase) of a user in an assignment using assignment, individual deadline, user and team information.
Definition at line 46 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 63 of file class.ilExcAssMemberState.php.
References $lng, ilExAssignment\getId(), ilObject\getId(), ILIAS\Repository\lng(), and ilExAssignment\TYPE_UPLOAD_TEAM.
Here is the call graph for this function:| ilExcAssMemberState::areInstructionsVisible | ( | ) |
Definition at line 387 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::exceededOfficialDeadline | ( | ) |
Definition at line 260 of file class.ilExcAssMemberState.php.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getCalculatedDeadline | ( | ) |
Calculated deadline is only given, if a relative deadline is given and the user started the assignment the value may be restricted by the last submission date for relative deadlines.
Definition at line 177 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_RELATIVE.
| ilExcAssMemberState::getCommonDeadline | ( | ) |
Definition at line 312 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_ABSOLUTE.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getCommonDeadlinePresentation | ( | ) |
| ilDateTimeException |
Definition at line 325 of file class.ilExcAssMemberState.php.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getEffectiveDeadline | ( | ) |
Definition at line 335 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getGeneralStart | ( | ) |
Definition at line 142 of file class.ilExcAssMemberState.php.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getGeneralStartPresentation | ( | ) |
| ilDateTimeException |
Definition at line 151 of file class.ilExcAssMemberState.php.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getIndividualDeadline | ( | ) |
Definition at line 290 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getIndividualDeadlineObject | ( | ) |
Definition at line 137 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getIndividualDeadlinePresentation | ( | ) |
| ilDateTimeException |
Definition at line 302 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getIndividualStart | ( | ) |
Definition at line 159 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_RELATIVE.
|
static |
Usually you should prefer to use getInstanceByIds.
If you use getInstance you need to ensure consistency (e.g. deadline needs to match user)
Definition at line 126 of file class.ilExcAssMemberState.php.
|
static |
Definition at line 93 of file class.ilExcAssMemberState.php.
Referenced by ilExSubmission\__construct(), ilExAssignmentInfo\__construct(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilExSubmissionGUI\downloadFileObject(), ilExSubmissionGUI\downloadGlobalFeedbackFileObject(), ilAppointmentExerciseFileHandler\getFiles(), ilExAssignmentGUI\getOverviewBody(), ilExAssignmentGUI\getOverviewHeader(), ilExerciseDerivedTaskProvider\getTasks(), ilExAssignmentReminder\parsePeerReminders(), and ilObjExerciseGUI\startAssignmentObject().
Here is the caller graph for this function:| ilExcAssMemberState::getLastSubmissionOfRelativeDeadline | ( | ) |
Definition at line 200 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_RELATIVE.
| ilExcAssMemberState::getLastSubmissionOfRelativeDeadlinePresentation | ( | ) |
| ilDateTimeException |
Definition at line 250 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getOfficialDeadline | ( | ) |
Get official deadline (individual deadline, fixed deadline or calculated deadline (using relative deadline and starting ts)) Grace period is not taken into account here.
Definition at line 221 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_ABSOLUTE.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getOfficialDeadlinePresentation | ( | ) |
| ilDateTimeException |
Definition at line 237 of file class.ilExcAssMemberState.php.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getPeerReviewDeadline | ( | ) |
Definition at line 340 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getPeerReviewDeadlinePresentation | ( | ) |
| ilDateTimeException |
Definition at line 353 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::getRelativeDeadline | ( | ) |
Definition at line 192 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_RELATIVE.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::getRelativeDeadlinePresentation | ( | ) |
Definition at line 208 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_RELATIVE, and ILIAS\Repository\lng().
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExcAssMemberState::getRemainingTimePresentation | ( | ) |
Remaining time presentation (based on official deadline)
| ilDateTimeException |
Definition at line 274 of file class.ilExcAssMemberState.php.
References $lng, IL_CAL_UNIX, and ilLegacyFormElementsUtil\period2String().
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $a_timestamp |
| ilDateTimeException |
Definition at line 378 of file class.ilExcAssMemberState.php.
References ilDatePresentation\formatDate(), and IL_CAL_UNIX.
Here is the call graph for this function:| ilExcAssMemberState::hasGenerallyStarted | ( | ) |
Definition at line 167 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::hasSubmissionEnded | ( | ) |
Definition at line 419 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::hasSubmissionEndedForAllUsers | ( | ) |
Definition at line 432 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::hasSubmissionStarted | ( | ) |
Check if the submission phase has started for the current user (if the assignment is generally started and for relative deadlines, if the user started the assignment)
Definition at line 409 of file class.ilExcAssMemberState.php.
References ilExAssignment\DEADLINE_ABSOLUTE.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::inLateSubmissionPhase | ( | ) |
Definition at line 392 of file class.ilExcAssMemberState.php.
Referenced by ilExAssignmentInfo\getScheduleInfo().
Here is the caller graph for this function:| ilExcAssMemberState::isGlobalFeedbackFileAccessible | ( | ilExSubmission | $submission | ) |
Definition at line 455 of file class.ilExcAssMemberState.php.
References ilExAssignment\FEEDBACK_DATE_CUSTOM, ilExAssignment\FEEDBACK_DATE_DEADLINE, and ilExSubmission\hasSubmitted().
Here is the call graph for this function:| ilExcAssMemberState::isPeerReviewAllowed | ( | ) |
Definition at line 363 of file class.ilExcAssMemberState.php.
| ilExcAssMemberState::isSubmissionAllowed | ( | ) |
Definition at line 446 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 48 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 50 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 61 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 60 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 52 of file class.ilExcAssMemberState.php.
Referenced by __construct().
|
protected |
either user id or team id, if this is a team assignment and the user is member of a team, in this case is_team is true
Definition at line 58 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 59 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 51 of file class.ilExcAssMemberState.php.
|
protected |
Definition at line 49 of file class.ilExcAssMemberState.php.