class FilterContentMiddleware extends BaseViewMiddleware

Scans content as it is being processed and runs user defined content filters on the resulting data.

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.

handle($event, $view)

No description

Details

in BaseViewMiddleware at line 14
register()

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

Parameters

Event $event
$view

in BaseViewMiddleware 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

at line 10
handle($event, $view)

Parameters

$event
$view