Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
moodle1_handlers_factory Class Reference

Handlers factory class. More...

Static Public Member Functions

static get_handlers (moodle1_converter $converter)
 

Static Protected Member Functions

static get_plugin_handlers ($type, moodle1_converter $converter)
 public API ends here ///////////////////////////////////////////////////
 

Detailed Description

Handlers factory class.

Member Function Documentation

◆ get_handlers()

static moodle1_handlers_factory::get_handlers ( moodle1_converter $converter)
static
Parameters
moodle1_converterthe converter requesting the converters
Return values
listof all available conversion handlers

◆ get_plugin_handlers()

static moodle1_handlers_factory::get_plugin_handlers ( $type,
moodle1_converter $converter )
staticprotected

public API ends here ///////////////////////////////////////////////////

Runs through all plugins of a specific type and instantiates their handlers

Todo
ask mod's subplugins
Parameters
string$typethe plugin type
moodle1_converter$converterthe converter requesting the handler
Exceptions
moodle1_convert_exception
Return values
arrayof moodle1_handler instances

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