getFlash() public method
Returns a flash message. See also:
setFlash()
addFlash()
hasFlash()
getAllFlashes()
removeFlash()
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.