Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | Static Protected Member Functions | List of all members
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 /////////////////////////////////////////////////// More...
 

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: