Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Voodoo
Core
View
FlashMessage
PHP Class Voodoo\Core\View\FlashMessage
显示文件
Open project: voodoophp/voodoo
Public Methods
Method
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
method
public
__construct
( )
clear()
public
method
Clear flash
public
clear
( ) :
TView
return
TView
get()
public
method
Get the flash
public
get
(
$type
= null ) :
type
return
type
set()
public
method
Set the flash
public
set
(
string
$message
,
string
$type
= self::TYPE_NOTICE,
array
$data
= [] ) :
TView
$message
string
$type
string
$data
array
return
TView