Logo

flash()

ops...

Description

A CakePHP component, which shows a message when called.

Usage: $this->Flash->error(__('The "{0}" article could not be deleted. Please, try again.', $cat->function_name)); $this->Flash->success(__('The "{0}" article has been deleted.', $cat->function_name)); $this->Flash->warning('You must log in, in order to edit a cat.'); $this->Flash->set('This is a message');