Creates an URI used for linking to an Controller action.
public uriFor ( string $actionName, array $controllerArguments = [], string $controllerName = null, string $packageKey = null, string $subPackageKey = null ) : string | ||
$actionName | string | Name of the action to be called |
$controllerArguments | array | Additional query parameters. Will be merged with $this->arguments. |
$controllerName | string | Name of the target controller. If not set, current ControllerName is used. |
$packageKey | string | Name of the target package. If not set, current Package is used. |
$subPackageKey | string | Name of the target SubPackage. If not set, current SubPackage is used. |
return | string | the rendered URI |