Skip to content

Commit

Permalink
Adding docs about the ability to set settings in the helper as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 21, 2011
1 parent c64dd9d commit 0b75906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cake/libs/controller/components/session.php
Expand Up @@ -113,7 +113,9 @@ public function error() {
*
* 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 $element Element to wrap flash message in.
Expand Down

0 comments on commit 0b75906

Please sign in to comment.