Method | Description | |
---|---|---|
build ( string | array | null $url = null, array $options = [] ) : string | Returns a URL based on provided parameters. | |
buildComplete ( string | array | null $url = null, boolean $full = false ) : string | Returns a URL based on provided parameters. | |
buildReset ( string | array | null $url = null, boolean $full = false ) : string | Creates a reset URL. | |
completeArray ( array $url ) : array | ||
defaults ( ) : array | ||
resetArray ( array $url ) : array |
Method | Description | |
---|---|---|
addQueryStrings ( array $url ) : array |
protected addQueryStrings ( array $url ) : array | ||
$url | array | |
return | array |
public build ( string | array | null $url = null, array $options = [] ) : string | ||
$url | string | array | null | 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. |
$options | array | Array of options |
return | string | Full translated URL with base path. |