Flash

Abstract class Phalcon\Flash

Shows HTML notifications related to different circumstances. Classes can be stylized using CSS

$flash->success("The record was successfully deleted");
 $flash->error("Cannot open the file");

Methods

public __construct ([array $cssClasses])

Phalcon\Flash constructor

public Phalcon\FlashInterface setImplicitFlush (boolean $implicitFlush)

Set whether the output must be implicitly flushed to the output or returned as string

public Phalcon\FlashInterface<