mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Expanding doc blocks for router::url.
This commit is contained in:
parent
30cb38eb93
commit
e8be5bac8d
1 changed files with 9 additions and 0 deletions
|
@ -717,6 +717,15 @@ class Router {
|
|||
* - '/' - the method will find base URL of application.
|
||||
* - A combination of controller/action - the method will find url for it.
|
||||
*
|
||||
* There are a few 'special' parameters that can change the final URL string that is generated
|
||||
*
|
||||
* - `base` - Set to false to remove the base path from the generated url. If your application
|
||||
* is not in the root directory, this can be used to generate urls that are 'cake relative'.
|
||||
* cake relative urls are required when using requestAction.
|
||||
* - `?` - Takes an array of query string parameters
|
||||
* - `#` - Allows you to set url hash fragments.
|
||||
* - `full_base` - If true the `FULL_BASE_URL` constant will be prepended to generated urls.
|
||||
*
|
||||
* @param mixed $url Cake-relative URL, like "/products/edit/92" or "/presidents/elect/4"
|
||||
* or an array specifying any of the following: 'controller', 'action',
|
||||
* and/or 'plugin', in addition to named arguments (keyed array elements),
|
||||
|
|
Loading…
Add table
Reference in a new issue