Documentation

FilterContentMiddleware extends BaseViewMiddleware
in package

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

Table of Contents

afterRender()  : mixed
handle()  : 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
matchUrl()  : mixed
normalizeRoute()  : mixed
transformAnyFilter()  : mixed

Methods

afterRender()

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

handle()

public handle(mixed $event, mixed $view) : mixed
Parameters
$event : mixed
$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

matchUrl()

private matchUrl(mixed $filtered[, mixed $current = null ]) : mixed
Parameters
$filtered : mixed
$current : mixed = null
Return values
mixed

normalizeRoute()

private normalizeRoute(mixed $route) : mixed
Parameters
$route : mixed
Return values
mixed

transformAnyFilter()

private transformAnyFilter(mixed $route) : mixed
Parameters
$route : mixed
Return values
mixed

Search results