Skip to content
Permalink
Browse files

Document 'default' option.

  • Loading branch information...
ADmad committed Jul 5, 2014
1 parent 8d197e4 commit 156265fefaa343862f8758fb65f953e39fa254d6
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/View/Helper/HtmlHelper.php
@@ -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

0 comments on commit 156265f

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