Skip to content

Commit

Permalink
Document 'default' option.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jul 5, 2014
1 parent 8d197e4 commit 156265f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/View/Helper/HtmlHelper.php
Expand Up @@ -293,11 +293,15 @@ public function charset($charset = null) {
* ### Options
*
* - `escape` Set to false to disable escaping of title and attributes.
* - `escapeTitle` Set to false to disable escaping of title. (Takes precedence over value of `escape`)
* - `escapeTitle` Set to false to disable escaping of title. Takes precedence
* over value of `escape`)
* - `confirm` JavaScript confirmation message.
* - `default` If set to false the default redirection behavior of link will be
* prevented using javascript.
*
* @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.
* @return string An `<a />` element.
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::link
Expand Down

0 comments on commit 156265f

Please sign in to comment.