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