\Ceo\View\MiddlewareTimerMiddleware

The most basic of example middleware. Injects the timer value into the generated source.

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
No private methods found
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