Documentation

BaseViewMiddleware extends Module
in package

All view middleware, with the exception of the CacheMiddleware, must derive from the BaseViewMiddleware. The BaseViewMiddleware's register function ensures that the middleware priorities are maintained.

Table of Contents

afterRender()  : mixed
injectMessage()  : string
Inject message output HTML. Will keep all messages contained to the same container. Can be styled via #__ceo-debug-message ID.
register()  : mixed

Methods

afterRender()

public afterRender(Event $event, mixed $view) : mixed
Parameters
$event : Event
$view : mixed
Return values
mixed

injectMessage()

Inject message output HTML. Will keep all messages contained to the same container. Can be styled via #__ceo-debug-message ID.

public injectMessage(mixed $content, mixed $message[, mixed $newLine = true ]) : string
Parameters
$content : mixed
$message : mixed
$newLine : mixed = true
Return values
string

output content

Search results