Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
mod_forum\local\factories\manager Class Reference

Managers factory. More...

Public Member Functions

 __construct (legacy_data_mapper $legacydatamapperfactory)
 Constructor.
 
 get_capability_manager (forum_entity $forum)
 Create a capability manager for the given forum.
 
 get_rating_manager ()
 Create a rating manager.
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

mod_forum\local\factories\manager::__construct ( legacy_data_mapper $legacydatamapperfactory)

Constructor.

Parameters
legacy_data_mapper$legacydatamapperfactoryLegacy data mapper factory

Member Function Documentation

◆ get_capability_manager()

mod_forum\local\factories\manager::get_capability_manager ( forum_entity $forum)

Create a capability manager for the given forum.

Parameters
forum_entity$forumThe forum to manage capabilities for
Return values
capability_manager

◆ get_rating_manager()

mod_forum\local\factories\manager::get_rating_manager ( )

Create a rating manager.

Return values
rating_manager

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