Flash
in package
One-shot session message, shown on the page after a redirect.
Table of Contents
Methods
- pull() : string|null
- Return the pending message and clear it, or null when there is none.
- set() : void
- Store the message to show on the next rendered page.
Methods
pull()
Return the pending message and clear it, or null when there is none.
public
static pull() : string|null
Return values
string|nullset()
Store the message to show on the next rendered page.
public
static set(string $message) : void
Parameters
- $message : string
-
The message (plain text; escaped when rendered).