Navigation Menu

Skip to content

Commit

Permalink
Updating documentation for Router::normalize(). Refs #486
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 20, 2010
1 parent bc990f4 commit f65cb31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cake/libs/router.php
Expand Up @@ -1180,9 +1180,11 @@ function queryString($q, $extra = array(), $escape = false) {
return $out;
}
/**
* Normalizes a URL for purposes of comparison
* Normalizes a URL for purposes of comparison. Will strip the base path off
* and replace any double /'s. It will not unify the casing and underscoring
* of the input value.
*
* @param mixed $url URL to normalize
* @param mixed $url URL to normalize Either an array or a string url.
* @return string Normalized URL
* @access public
*/
Expand Down

0 comments on commit f65cb31

Please sign in to comment.