diff --git a/View/Helper/UrlShimHelper.php b/View/Helper/UrlShimHelper.php index 63b3246..278d978 100644 --- a/View/Helper/UrlShimHelper.php +++ b/View/Helper/UrlShimHelper.php @@ -17,20 +17,13 @@ class UrlShimHelper extends AppHelper { /** - * Creates an HTML link. + * Returns a URL based on provided parameters. * - * ### 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`) - * - `confirm` JavaScript confirmation message. - * - * @param string $title The content to be wrapped by 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. This - * argument is deprecated as of 2.6. Use `confirm` key in $options instead. - * @return string An `` element. + * @param string|array $url Either a relative string url like `/products/view/23` or + * an array of URL parameters. Using an array for URLs will allow you to leverage + * the reverse routing features of CakePHP. + * @param bool $full If true, the full base URL will be prepended to the result + * @return string Full translated URL with base path. */ public function build($url = null, $full = false) { return parent::url($url, $full);