class BaseViewMiddleware extends Module

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.

Methods

register()

No description

afterRender(Event $event, $view)

No description

string
injectMessage(string $content, string $message, boolean $newLine = true)

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

Details

at line 14
register()

at line 25
afterRender(Event $event, $view)

Parameters

Event $event
$view

at line 38
string injectMessage(string $content, string $message, boolean $newLine = true)

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

Parameters

string $content output content
string $message your message, can contain HTML
boolean $newLine insert a new line when appending messages

Return Value

string output content