Flash\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Flash\Direct

extends abstract class Phalcon\Flash implements Phalcon\Di\InjectionAwareInterface, Phalcon\FlashInterface Source on GitHub This is a variant of the Phalcon\Flash that immediately outputs any message passed to it Methods public message (mixed $type, mixed $message) Outputs a message public output ([mixed $remove]) Prints the messages accumulated in the flasher public __construct ([mixed $cssClasses]) inherited from Phalcon\Flash Phalcon\Flash constructor public getAutoescape () inherited from

Flash\Direct::message

public message (mixed $type, mixed $message) Outputs a message

FlashInterface::success

abstract public success (mixed $message) ...

FlashInterface::message

abstract public message (mixed $type, mixed $message) ...

FlashInterface

Source on GitHub Methods abstract public error (mixed $message) ... abstract public notice (mixed $message) ... abstract public success (mixed $message) ... abstract public warning (mixed $message) ... abstract public message (mixed $type, mixed $message) ...

FlashInterface::error

abstract public error (mixed $message) ...

FlashInterface::warning

abstract public warning (mixed $message) ...

FlashInterface::notice

abstract public notice (mixed $message) ...

Flash::setCssClasses

public setCssClasses (array $cssClasses) Set an array with CSS classes to format the messages