ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilForumDerivedTaskProviderFactory Class Reference

Class ilForumDerivedTaskProviderFactory. More...

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

Public Member Functions

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

Protected Attributes

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

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

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

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

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

Member Function Documentation

◆ getProviders()

ilForumDerivedTaskProviderFactory::getProviders ( )

Get providers.

Returns
ilDerivedTaskProvider[]

Implements ilDerivedTaskProviderFactory.

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

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

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

Field Documentation

◆ $accessHandler

ilAccessHandler ilForumDerivedTaskProviderFactory::$accessHandler
protected

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

Referenced by __construct().

◆ $ctrl

ilCtrlInterface ilForumDerivedTaskProviderFactory::$ctrl
protected

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

Referenced by __construct().

◆ $lng

ilLanguage ilForumDerivedTaskProviderFactory::$lng
protected

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

Referenced by __construct().

◆ $settings

ilSetting ilForumDerivedTaskProviderFactory::$settings
protected

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

Referenced by __construct().

◆ $taskService

ilTaskService ilForumDerivedTaskProviderFactory::$taskService
protected

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

Referenced by __construct().


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