ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilExerciseDerivedTaskProviderFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilExerciseDerivedTaskProviderFactory:
+ Collaboration diagram for ilExerciseDerivedTaskProviderFactory:

Public Member Functions

 __construct (ilTaskService $task_service, ilAccess $access=null, ilLanguage $lng=null)
 
 getProviders ()
 

Protected Attributes

ILIAS Exercise PermanentLink PermanentLinkManager $link_manager
 
ilTaskService $task_service
 
ilAccess $access
 
ilLanguage $lng
 

Detailed Description

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 derived task provider factory

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 24 of file class.ilExerciseDerivedTaskProviderFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ilExerciseDerivedTaskProviderFactory::__construct ( ilTaskService  $task_service,
ilAccess  $access = null,
ilLanguage  $lng = null 
)

Definition at line 31 of file class.ilExerciseDerivedTaskProviderFactory.php.

References $access, $DIC, $lng, $task_service, ILIAS\Repository\access(), and ILIAS\Repository\lng().

35  {
36  global $DIC;
37 
38  $this->access = is_null($access)
39  ? $DIC->access()
40  : $access;
41 
42  $this->lng = is_null($lng)
43  ? $DIC->language()
44  : $lng;
45 
46  $this->link_manager = $DIC->exercise()->internal()->gui()->permanentLink();
47 
48  $this->task_service = $task_service;
49  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ getProviders()

ilExerciseDerivedTaskProviderFactory::getProviders ( )
Returns
[]

Implements ilDerivedTaskProviderFactory.

Definition at line 54 of file class.ilExerciseDerivedTaskProviderFactory.php.

References ILIAS\Repository\access(), and ILIAS\Repository\lng().

54  : array
55  {
56  return [
58  $this->task_service,
59  $this->access,
60  $this->lng,
65  new \ILIAS\Exercise\Submission\SubmissionDBRepository()
66  ),
67  $this->link_manager
68  )
69  ];
70  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider .
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...
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...
+ Here is the call graph for this function:

Field Documentation

◆ $access

ilAccess ilExerciseDerivedTaskProviderFactory::$access
protected

Definition at line 28 of file class.ilExerciseDerivedTaskProviderFactory.php.

Referenced by __construct().

◆ $link_manager

ILIAS Exercise PermanentLink PermanentLinkManager ilExerciseDerivedTaskProviderFactory::$link_manager
protected

◆ $lng

ilLanguage ilExerciseDerivedTaskProviderFactory::$lng
protected

Definition at line 29 of file class.ilExerciseDerivedTaskProviderFactory.php.

Referenced by __construct().

◆ $task_service

ilTaskService ilExerciseDerivedTaskProviderFactory::$task_service
protected

Definition at line 27 of file class.ilExerciseDerivedTaskProviderFactory.php.

Referenced by __construct().


The documentation for this class was generated from the following file: