flash — Return a flashed message from the controller.

View-related functions

Summary

flash()

Return a flashed message from the controller.

Returns:string

Usage

Examples

Use on pages associated with database actions (CRUD) to display messages from the controllers. Most often used in views for plugins.

<?php echo flash(); ?>

See Also