[FLOW3-general] Complete URI of controller/package in FLOW3
Thomas Plessis
t.plessis at totemnumerique.com
Fri Jan 20 15:04:54 CET 2012
Thx Bastian, really helpful!
Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55
Le 20 janv. 2012 à 12:54, Bastian Waidelich a écrit :
> 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
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list