Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Moodle\BehatExtension\Output\Formatter\MoodleListFormatter Class Reference
Inheritance diagram for Moodle\BehatExtension\Output\Formatter\MoodleListFormatter:

Public Member Functions

 __construct ($name, $description, array $parameters, OutputPrinter $printer)
 Initializes formatter.
 
 afterOutlineExample (AfterOutlineTested $event)
 Listens to "outline.example.after" event.
 
 afterScenario (AfterScenarioTested $event)
 Listens to "scenario.after" event.
 
 getDescription ()
 Returns formatter description.
 
 getName ()
 Returns formatter name.
 
 getOutputPrinter ()
 Returns formatter output printer.
 
 getParameter ($name)
 Returns parameter name.
 
 setParameter ($name, $value)
 Sets formatter parameter.
 

Static Public Member Functions

static getSubscribedEvents ()
 Returns an array of event names this subscriber wants to listen to.
 

Constructor & Destructor Documentation

◆ __construct()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::__construct ( $name,
$description,
array $parameters,
OutputPrinter $printer )

Initializes formatter.

Parameters
string$name
string$description
array$parameters
OutputPrinter$printer

Member Function Documentation

◆ afterOutlineExample()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::afterOutlineExample ( AfterOutlineTested $event)

Listens to "outline.example.after" event.

Parameters
AfterOutlineTested$event

◆ afterScenario()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::afterScenario ( AfterScenarioTested $event)

Listens to "scenario.after" event.

Parameters
AfterScenarioTested$event

◆ getDescription()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::getDescription ( )

Returns formatter description.

Return values
string

◆ getName()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::getName ( )

Returns formatter name.

Return values
string

◆ getOutputPrinter()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::getOutputPrinter ( )

Returns formatter output printer.

Return values
OutputPrinter

◆ getParameter()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::getParameter ( $name)

Returns parameter name.

Parameters
string$name
Return values
mixed

◆ getSubscribedEvents()

static Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::getSubscribedEvents ( )
static

Returns an array of event names this subscriber wants to listen to.

Return values
arrayThe event names to listen to

◆ setParameter()

Moodle\BehatExtension\Output\Formatter\MoodleListFormatter::setParameter ( $name,
$value )

Sets formatter parameter.

Parameters
string$name
mixed$value

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