Adding docs about the ability to set settings in the helper as well.

This commit is contained in:
mark_story 2011-02-21 14:08:01 -05:00
parent c64dd9d352
commit 0b75906649

View file

@ -113,7 +113,9 @@ class SessionComponent extends Component {
* *
* In your controller: $this->Session->setFlash('This has been saved'); * In your controller: $this->Session->setFlash('This has been saved');
* *
* Additional params below can be passed to customize the output, or the Message.[key] * Additional params below can be passed to customize the output, or the Message.[key].
* You can also set additional parameters when rendering flash messages. See SessionHelper::flash()
* for more information on how to do that.
* *
* @param string $message Message to be flashed * @param string $message Message to be flashed
* @param string $element Element to wrap flash message in. * @param string $element Element to wrap flash message in.