Documentation

OutputHandlerFactory
in package

OutputHandlers can either be the standard core ones: print/pdf/csv, or extensions can add their own.

Table of Contents

Properties

$registered  : array<string|int, mixed>
$singleton  : mixed

Methods

create()  : OutputHandlerInterface|null
Return an OutputHandler based on the parameters.
register()  : mixed
Register an outputHandler to handle an output format.
singleton()  : OutputHandlerFactory
Singleton function.
registerBuiltins()  : mixed
There are some handlers that were hard-coded in to the form before which have now been moved to outputhandlers.

Properties

$registered

protected static array<string|int, mixed> $registered = []

Array of registered possible OutputHandlers.

Methods

register()

Register an outputHandler to handle an output format.

public register(string $outputHandler) : mixed
Parameters
$outputHandler : string

The classname of a class that implements OutputHandlerInterface.

registerBuiltins()

There are some handlers that were hard-coded in to the form before which have now been moved to outputhandlers.

private static registerBuiltins() : mixed

        
On this page

Search results