[TYPO3-english] How to get URL query string in extension class

Sebastian Gebhard sebastian.gebhard at googlemail.com
Thu Oct 22 10:03:53 CEST 2009


David Bruchmann schrieb:
> 1) $this->piVars holds all post- and get-Variables in an array
It holds all you Plugin vars, i.e. all paramters prefixed with $this->prefixId.
If he wants to include all parameters in his link, typolink could help for example

$url = $this->cObj->typoLink_URL(array(
   'parameter' => $GLOBALS['TSFE']->id,
   'addQueryString' => 1
));


Of course there are options to exclude and add parameters. Refer to TSref section typolink.


More information about the TYPO3-english mailing list