__construct()
error()
get()
notice()
set()
setSession()
success()
warn()
$message
$type
$session
The Message class lets you set "flash" messages from one part of your application so they can be viewed in another.
package | Owl |
---|---|
author | Dave Widmer |
__construct(string $type, mixed $message)
string
Type of message
mixed
Message to display, either string or array
error(mixed $message)
mixed
String/Array for the message(s)
get() : mixed
mixed
The currently stored message or falsenotice(mixed $message)
mixed
String/Array for the message(s)
set(string $type, mixed $message)
string
Type of message
mixed
Array/String for the message
setSession(Session $session)
\Owl\Session
success(mixed $message)
mixed
String/Array for the message(s)
warn(mixed $message)
mixed
String/Array for the message(s)
$type : string