Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
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. More...
 
 get_exported_discussion_builder ()
 Get an instance of the exported discussion builder. More...
 
 get_exported_discussion_summaries_builder ()
 Get an instance of the exported discussion summaries builder. More...
 
 get_exported_posts_builder ()
 Get an instance of the exported posts builder. More...
 

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: