mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating doc block for Controller::flash(). Closes #5333
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7511 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
253c5a87ec
commit
8a76b86c85
1 changed files with 2 additions and 2 deletions
|
@ -778,12 +778,12 @@ class Controller extends Object {
|
|||
header("Pragma: no-cache");
|
||||
}
|
||||
/**
|
||||
* Shows a message to the user $time seconds, then redirects to $url
|
||||
* Shows a message to the user $pause seconds, then redirects to $url
|
||||
* Uses flash.thtml as a layout for the messages
|
||||
*
|
||||
* @param string $message Message to display to the user
|
||||
* @param string $url Relative URL to redirect to after the time expires
|
||||
* @param integer $time Time to show the message
|
||||
* @param integer $pause Time to show the message
|
||||
* @access public
|
||||
*/
|
||||
function flash($message, $url, $pause = 1) {
|
||||
|
|
Loading…
Reference in a new issue