mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Deprecate $confirmMessage argument.
This commit is contained in:
parent
a8eab9b23a
commit
53259cb389
2 changed files with 4 additions and 2 deletions
|
@ -1789,7 +1789,8 @@ class FormHelper extends AppHelper {
|
||||||
* @param string $title The content to be wrapped by <a> tags.
|
* @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 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 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.
|
* @return string An `<a />` element.
|
||||||
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::postLink
|
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::postLink
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -326,7 +326,8 @@ class HtmlHelper extends AppHelper {
|
||||||
* @param string $title The content to be wrapped by <a> tags.
|
* @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 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 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.
|
* @return string An `<a />` element.
|
||||||
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::link
|
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::link
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue