ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilForumDerivedTaskProviderFactory Class Reference

Class ilForumDerivedTaskProviderFactory. More...

+ Inheritance diagram for ilForumDerivedTaskProviderFactory:
+ Collaboration diagram for ilForumDerivedTaskProviderFactory:

Public Member Functions

 __construct (protected ilTaskService $taskService, ?ilAccessHandler $accessHandler=null, ?ilSetting $settings=null, ?ilLanguage $lng=null, ?ilCtrlInterface $ctrl=null)
 
 getProviders ()
 Get providers. More...
 

Protected Attributes

ilAccessHandler $accessHandler
 
ilSetting $settings
 
ilLanguage $lng
 
ilCtrlInterface $ctrl
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilForumDerivedTaskProviderFactory::__construct ( protected ilTaskService  $taskService,
?ilAccessHandler  $accessHandler = null,
?ilSetting  $settings = null,
?ilLanguage  $lng = null,
?ilCtrlInterface  $ctrl = null 
)

Definition at line 32 of file class.ilForumDerivedTaskProviderFactory.php.

References $accessHandler, $ctrl, $DIC, $lng, $settings, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().

38  {
39  global $DIC;
40  $this->accessHandler = is_null($accessHandler)
41  ? $DIC->access()
43 
44  $this->settings = is_null($settings)
45  ? $DIC->settings()
46  : $settings;
47 
48  $this->lng = is_null($lng)
49  ? $DIC->language()
50  : $lng;
51 
52  $this->ctrl = is_null($ctrl)
53  ? $DIC->ctrl()
54  : $ctrl;
55  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

Member Function Documentation

◆ getProviders()

ilForumDerivedTaskProviderFactory::getProviders ( )

Get providers.

Returns
ilDerivedTaskProvider[]

Implements ilDerivedTaskProviderFactory.

Definition at line 57 of file class.ilForumDerivedTaskProviderFactory.php.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().

57  : array
58  {
59  return [
61  $this->taskService,
62  $this->accessHandler,
63  $this->lng,
64  $this->settings,
65  $this->ctrl
66  )
67  ];
68  }
Class ilForumDraftsDerivedTaskProvider.
+ Here is the call graph for this function:

Field Documentation

◆ $accessHandler

ilAccessHandler ilForumDerivedTaskProviderFactory::$accessHandler
protected

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

Referenced by __construct().

◆ $ctrl

ilCtrlInterface ilForumDerivedTaskProviderFactory::$ctrl
protected

Definition at line 30 of file class.ilForumDerivedTaskProviderFactory.php.

Referenced by __construct().

◆ $lng

ilLanguage ilForumDerivedTaskProviderFactory::$lng
protected

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

Referenced by __construct().

◆ $settings

ilSetting ilForumDerivedTaskProviderFactory::$settings
protected

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

Referenced by __construct().


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