[FLOW3-general] Complete URI of controller/package in FLOW3
Bastian Waidelich
bastian at typo3.org
Fri Jan 20 12:54:46 CET 2012
Bastian Waidelich wrote:
> The link & uri ViewHelpers have an argument "absolute" that prepends the
> current domain if specified.
..and from within your controller you can obviously prepend the base URI
manually:
$uri = $this->uriBuilder->uriFor($actionName, $arguments,
$controllerName, $packageKey, $subpackageKey);
$absoluteUri = $this->request->getBaseUri() . $uri;
HTH
Bastian
More information about the FLOW3-general
mailing list