ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 InternalRepoService $repo
 
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 32 of file class.ilExerciseDerivedTaskProviderFactory.php.

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

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

Member Function Documentation

◆ getProviders()

ilExerciseDerivedTaskProviderFactory::getProviders ( )
Returns
[]

Implements ilDerivedTaskProviderFactory.

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

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

55  : array
56  {
57  return [
59  $this->task_service,
60  $this->access,
61  $this->lng,
66  $this->repo->submission()
67  ),
68  $this->link_manager
69  )
70  ];
71  }
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...
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 29 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 30 of file class.ilExerciseDerivedTaskProviderFactory.php.

Referenced by __construct().

◆ $repo

ILIAS Exercise InternalRepoService ilExerciseDerivedTaskProviderFactory::$repo
protected

◆ $task_service

ilTaskService ilExerciseDerivedTaskProviderFactory::$task_service
protected

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

Referenced by __construct().


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