26     protected \ILIAS\Exercise\PermanentLink\PermanentLinkManager 
$link_manager;
    37         \
ILIAS\Exercise\PermanentLink\PermanentLinkManager $link_manager
    41         $this->task_action = $derived_task_action;
    45         $this->
lng->loadLanguageModule(
"exc");
    64         foreach ($this->task_action->getOpenAssignmentsOfUser($user_id) as $ass) {
    70             $title = str_replace(
"%1", $ass->getTitle(), $lng->
txt(
"exc_task_submission"));
    71             $tasks[] = $this->task_service->derived()->factory()->task(
    74                 $state->getOfficialDeadline(),
    75                 (
int) $state->getGeneralStart()
    76             )->withUrl($this->link_manager->getPermanentLink(
$ref_id, $ass->getId()));
    80         foreach ($this->task_action->getOpenPeerReviewsOfUser($user_id) as $ass) {
    86             $title = str_replace(
"%1", $ass->getTitle(), $lng->
txt(
"exc_task_peer_feedback"));
    87             $tasks[] = $this->task_service->derived()->factory()->task(
    90                 $state->getPeerReviewDeadline(),
    96         foreach ($this->task_action->getOpenGradingsOfUser($user_id) as $ass) {
   101             $title = str_replace(
"%1", $ass->getTitle(), $lng->
txt(
"exc_task_grading"));
   102             $tasks[] = $this->task_service->derived()->factory()->task($title, 
$ref_id, 0, 0);
 
isActive()
Is provider active? 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
Interface Observer  Contains several chained tasks and infos about them. 
 
static _getAllReferences(int $id)
get all reference ids for object ID 
 
__construct(ilTaskService $task_service, ilAccess $access, ilLanguage $lng, ilExerciseDerivedTaskAction $derived_task_action, \ILIAS\Exercise\PermanentLink\PermanentLinkManager $link_manager)
 
ilTaskService $task_service
 
ilExerciseDerivedTaskAction $task_action
 
static getInstanceByIds(int $a_ass_id, int $a_user_id=0)
 
getFirstRefIdWithPermission(string $perm, int $obj_id, int $user_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS Exercise PermanentLink PermanentLinkManager $link_manager
 
checkAccessOfUser(int $a_user_id, string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=0, ?int $a_tree_id=0)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...