\App\CoreModule\TraitsTPresenterFlashMessage

Trait for flash messages in presenters

Summary

Methods
Properties
Constants
flashInfo()
flashSuccess()
flashWarning()
flashError()
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

flashInfo()

flashInfo(  message) : \stdClass

Saves the info flash message to template, that can be displayed after redirect or AJAX request

Parameters

message

Message

Returns

\stdClass —

Flash message object

flashSuccess()

flashSuccess(  message) : \stdClass

Saves the success flash message to template, that can be displayed after redirect or AJAX request

Parameters

message

Message

Returns

\stdClass —

Flash message object

flashWarning()

flashWarning(  message) : \stdClass

Saves the warning flash message to template, that can be displayed after redirect or AJAX request

Parameters

message

Message

Returns

\stdClass —

Flash message object

flashError()

flashError(  message) : \stdClass

Saves the error flash message to template, that can be displayed after redirect or AJAX request

Parameters

message

Message

Returns

\stdClass —

Flash message object