PHP Class MercurySeries\Flashy\FlashyNotifier

Afficher le fichier Open project: mercuryseries/flashy

Méthodes publiques

Méthode Description
__construct ( MercurySeries\Flashy\SessionStore $session ) Create a new flash notifier instance.
error ( string $message, string $link = '#' ) Flash an error message.
info ( string $message, string $link = '#' ) Flash an information message.
message ( string $message, string $link = '#', string $type = 'success' ) Flash a general message.
muted ( string $message, string $link = '#' ) Flash a muted message.
mutedDark ( string $message, string $link = '#' ) Flash a muted dark message.
primary ( string $message, string $link = '#' ) Flash a primary message.
primaryDark ( string $message, string $link = '#' ) Flash a primary dark message.
success ( string $message, string $link = '#' ) Flash a success message.
warning ( string $message, string $link = '#' ) Flash a warning message.

Method Details

__construct() public méthode

Create a new flash notifier instance.
public __construct ( MercurySeries\Flashy\SessionStore $session )
$session MercurySeries\Flashy\SessionStore

error() public méthode

Flash an error message.
public error ( string $message, string $link = '#' )
$message string
$link string

info() public méthode

Flash an information message.
public info ( string $message, string $link = '#' )
$message string
$link string

message() public méthode

Flash a general message.
public message ( string $message, string $link = '#', string $type = 'success' )
$message string
$link string
$type string

muted() public méthode

Flash a muted message.
public muted ( string $message, string $link = '#' )
$message string
$link string

mutedDark() public méthode

Flash a muted dark message.
public mutedDark ( string $message, string $link = '#' )
$message string
$link string

primary() public méthode

Flash a primary message.
public primary ( string $message, string $link = '#' )
$message string
$link string

primaryDark() public méthode

Flash a primary dark message.
public primaryDark ( string $message, string $link = '#' )
$message string
$link string

success() public méthode

Flash a success message.
public success ( string $message, string $link = '#' )
$message string
$link string

warning() public méthode

Flash a warning message.
public warning ( string $message, string $link = '#' )
$message string
$link string