\Ceo\View\MiddlewareFilterContentMiddleware

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

Summary

Methods
Properties
Constants
register()
afterRender()
injectMessage()
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
matchUrl()
normalizeRoute()
transformAnyFilter()
No private properties found
N/A

Methods

register()

register() 

afterRender()

afterRender(\Phalcon\Events\Event  $event,   $view) 

Parameters

\Phalcon\Events\Event $event
$view

injectMessage()

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

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

Parameters

$content
$message
$newLine

Returns

string —

output content

handle()

handle(  $event,   $view) 

Parameters

$event
$view

matchUrl()

matchUrl(  $filtered,   $current = null) 

Parameters

$filtered
$current

normalizeRoute()

normalizeRoute(  $route) 

Parameters

$route

transformAnyFilter()

transformAnyFilter(  $route) 

Parameters

$route