PHP Class Voodoo\Core\View\FlashMessage

Afficher le fichier Open project: voodoophp/voodoo

Méthodes publiques

Méthode Description
__construct ( )
clear ( ) : TView Clear flash
get ( $type = null ) : type Get the flash
set ( string $message, string $type = self::TYPE_NOTICE, array $data = [] ) : TView Set the flash

Method Details

__construct() public méthode

public __construct ( )

clear() public méthode

Clear flash
public clear ( ) : TView
Résultat TView

get() public méthode

Get the flash
public get ( $type = null ) : type
Résultat type

set() public méthode

Set the flash
public set ( string $message, string $type = self::TYPE_NOTICE, array $data = [] ) : TView
$message string
$type string
$data array
Résultat TView