ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables 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

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 30 of file class.ilExerciseDerivedTaskProviderFactory.php.

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

34  {
35  global $DIC;
36 
37  $this->access = is_null($access)
38  ? $DIC->access()
39  : $access;
40 
41  $this->lng = is_null($lng)
42  ? $DIC->language()
43  : $lng;
44 
45  $this->task_service = $task_service;
46  }
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 51 of file class.ilExerciseDerivedTaskProviderFactory.php.

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

51  : array
52  {
53  return [
55  $this->task_service,
56  $this->access,
57  $this->lng,
62  new \ILIAS\Exercise\Submission\SubmissionDBRepository()
63  )
64  )
65  ];
66  }
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 27 of file class.ilExerciseDerivedTaskProviderFactory.php.

Referenced by __construct().

◆ $lng

ilLanguage ilExerciseDerivedTaskProviderFactory::$lng
protected

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

Referenced by __construct().

◆ $task_service

ilTaskService ilExerciseDerivedTaskProviderFactory::$task_service
protected

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

Referenced by __construct().


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