Skip to content
Permalink
Browse files

Deprecate $confirmMessage argument.

  • Loading branch information...
ADmad committed Jul 10, 2014
1 parent a8eab9b commit 53259cb38946c4eefef9abd702ff462a475c8918
Showing with 4 additions and 2 deletions.
  1. +2 −1 lib/Cake/View/Helper/FormHelper.php
  2. +2 −1 lib/Cake/View/Helper/HtmlHelper.php
@@ -1789,7 +1789,8 @@ public function postButton($title, $url, $options = array()) {
* @param string $title The content to be wrapped by <a> tags.
* @param string|array $url Cake-relative URL or array of URL parameters, or external URL (starts with http://)
* @param array $options Array of HTML attributes.
* @param bool|string $confirmMessage JavaScript confirmation message.
* @param bool|string $confirmMessage JavaScript confirmation message. This
* argument is deprecated as of 2.6. Use `confirm` key in $options instead.
* @return string An `<a />` element.
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::postLink
*/
@@ -326,7 +326,8 @@ public function charset($charset = null) {
* @param string $title The content to be wrapped by <a> tags.
* @param string|array $url Cake-relative URL or array of URL parameters, or external URL (starts with http://)
* @param array $options Array of options and HTML attributes.
* @param string $confirmMessage JavaScript confirmation message.
* @param string $confirmMessage JavaScript confirmation message. This
* argument is deprecated as of 2.6. Use `confirm` key in $options instead.
* @return string An `<a />` element.
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::link
*/

0 comments on commit 53259cb

Please sign in to comment.
You can’t perform that action at this time.