web\Session getFlash()

getFlash() public method

Returns a flash message.

See also:

public mixed getFlash ( $key, $defaultValue = null, $delete = false )
$key string

The key identifying the flash message

$defaultValue mixed

Value to be returned if the flash message does not exist.

$delete boolean

Whether to delete this flash message right after this method is called. If false, the flash message will be automatically deleted in the next request.

return mixed

The flash message or an array of messages if addFlash was used

doc_Yii
2016-10-30 17:16:35
Comments
Leave a Comment

Please login to continue.