Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: