ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
createFor (int $prg_obj_id, int $usr_id, int $assigning_usr_id) | |
get (int $id) | |
store (ilPRGAssignment $assignment) | |
delete (ilPRGAssignment $assignment) | |
deleteAllAssignmentsForProgrammeId (int $prg_obj_id) | |
getForUser (int $usr_id) | |
get all assignments for a user More... | |
getAllForNodeIsContained (int $prg_obj_id, ?array $user_filter=null, ?ilPRGAssignmentFilter $custom_filters=null) | |
get all assignments for all (or given) users, where the given node is part of the assignment More... | |
countAllForNodeIsContained (int $prg_obj_id, ?array $user_filter=null, ?ilPRGAssignmentFilter $custom_filters=null) | |
Count all assignments for all (or given) users, where the given node is part of the assignment. More... | |
getAllForSpecificNode (int $prg_obj_id, ?array $user_filter=null) | |
get all assignments for all (or given) users, where the given node is the root-node of the assignment More... | |
getPassedDeadline (\DateTimeImmutable $deadline) | |
getDashboardInstancesforUser (int $usr_id) | |
getAboutToExpire (array $programmes_and_due, bool $discard_formerly_notified=true) | |
getExpiredAndNotInvalidated () | |
getLatestAssignment (int $root_prg_obj_id, int $usr_id) | |
Get the user's assignment on a prg that was created last. More... | |
getLongestValidAssignment (int $root_prg_obj_id, int $usr_id) | |
Get the user's assignment on a prg with the longest lasting qualification. More... | |
Definition at line 21 of file PRGAssignmentRepository.php.
PRGAssignmentRepository::countAllForNodeIsContained | ( | int | $prg_obj_id, |
?array | $user_filter = null , |
||
?ilPRGAssignmentFilter | $custom_filters = null |
||
) |
Count all assignments for all (or given) users, where the given node is part of the assignment.
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::createFor | ( | int | $prg_obj_id, |
int | $usr_id, | ||
int | $assigning_usr_id | ||
) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::delete | ( | ilPRGAssignment | $assignment | ) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::deleteAllAssignmentsForProgrammeId | ( | int | $prg_obj_id | ) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::get | ( | int | $id | ) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getAboutToExpire | ( | array | $programmes_and_due, |
bool | $discard_formerly_notified = true |
||
) |
array | <int $prg_obj_id, DateTimeImmutable $due> |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getAllForNodeIsContained | ( | int | $prg_obj_id, |
?array | $user_filter = null , |
||
?ilPRGAssignmentFilter | $custom_filters = null |
||
) |
get all assignments for all (or given) users, where the given node is part of the assignment
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getAllForSpecificNode | ( | int | $prg_obj_id, |
?array | $user_filter = null |
||
) |
get all assignments for all (or given) users, where the given node is the root-node of the assignment
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getDashboardInstancesforUser | ( | int | $usr_id | ) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getExpiredAndNotInvalidated | ( | ) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getForUser | ( | int | $usr_id | ) |
PRGAssignmentRepository::getLatestAssignment | ( | int | $root_prg_obj_id, |
int | $usr_id | ||
) |
Get the user's assignment on a prg that was created last.
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getLongestValidAssignment | ( | int | $root_prg_obj_id, |
int | $usr_id | ||
) |
Get the user's assignment on a prg with the longest lasting qualification.
If there is more than one assignment with e.g. unlimited qualification, the valid assignment that was created (not finished) last is returned.
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::getPassedDeadline | ( | \DateTimeImmutable | $deadline | ) |
Implemented in ilPRGAssignmentDBRepository.
PRGAssignmentRepository::store | ( | ilPRGAssignment | $assignment | ) |
Implemented in ilPRGAssignmentDBRepository.