-
-
Flash constructor. Fetch session and tag service from the di.
-
Get option value with key.
-
Display the messages.
-
Get a message formatting it with HTML.
-
Adds a message to the flash.
-
Add success message.
-
Alias of success message.
-
Add info message.
-
Alias of info message.
-
Add warning message.
-
Alias of warning message.
-
Add danger message.
-
Alias of danger message.
-
zephir_init_properties_Ice_Flash() : void
-
public function setOptions(variable $options)
-
public function __construct(array $options)
Flash constructor. Fetch session and tag service from the di. -
public function getOption(string $key, variable $defaultValue)
Get option value with key. -
public function getMessages(bool $remove)
Display the messages. -
public function getMessage(string $type, variable $messages)
Get a message formatting it with HTML. -
public function message(string $type, string $message)
Adds a message to the flash. -
public function success(string $message)
Add success message. -
public function ok(string $message)
Alias of success message. -
public function info(string $message)
Add info message. -
public function notice(string $message)
Alias of info message. -
public function warning(string $message)
Add warning message. -
public function alert(string $message)
Alias of warning message. -
public function danger(string $message)
Add danger message. -
public function error(string $message)
Alias of danger message. -
internal function zephir_init_properties_Ice_Flash()