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

Builder factory to construct any builders for forum. More...

Public Member Functions

 __construct (legacy_data_mapper_factory $legacydatamapperfactory, exporter_factory $exporterfactory, vault_factory $vaultfactory, manager_factory $managerfactory, renderer_base $rendererbase)
 Constructor.
 
 get_exported_discussion_builder ()
 Get an instance of the exported discussion builder.
 
 get_exported_discussion_summaries_builder ()
 Get an instance of the exported discussion summaries builder.
 
 get_exported_posts_builder ()
 Get an instance of the exported posts builder.
 

Detailed Description

Builder factory to construct any builders for forum.

See: https://designpatternsphp.readthedocs.io/en/latest/Creational/SimpleFactory/README.html

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

mod_forum\local\factories\builder::__construct ( legacy_data_mapper_factory $legacydatamapperfactory,
exporter_factory $exporterfactory,
vault_factory $vaultfactory,
manager_factory $managerfactory,
renderer_base $rendererbase )

Constructor.

Parameters
legacy_data_mapper_factory$legacydatamapperfactoryLegacy data mapper factory
exporter_factory$exporterfactoryExporter factory
vault_factory$vaultfactoryVault factory
manager_factory$managerfactoryManager factory
renderer_base$rendererbaseRenderer base

Member Function Documentation

◆ get_exported_discussion_builder()

mod_forum\local\factories\builder::get_exported_discussion_builder ( )

Get an instance of the exported discussion builder.

Return values
exported_discussion_summaries_builder

◆ get_exported_discussion_summaries_builder()

mod_forum\local\factories\builder::get_exported_discussion_summaries_builder ( )

Get an instance of the exported discussion summaries builder.

Return values
exported_discussion_summaries_builder

◆ get_exported_posts_builder()

mod_forum\local\factories\builder::get_exported_posts_builder ( )

Get an instance of the exported posts builder.

Return values
exported_posts_builder

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