[TYPO3-mvc] piVars

Jochen Rau jochen.rau at typoplanet.de
Sun Jul 19 21:36:18 CEST 2009


Hi /Steffen{2,}/.

Steffen Müller wrote:
> Hi.
>
> On 19.07.2009 13:46 Steffen Kamper wrote:
>> is there an official way to get the specific GP-vars for a controller?
>> I do it with t3lib_div::_GP(namespace) now.
>
> $this->request

The Request holds the "raw" (=unvalidated Arguments). The API is

	public function setArgument($argumentName, $value)
	public function setArguments(array $arguments)
	public function getArguments()
	public function getArgument($argumentName)
	public function hasArgument($argumentName)

Regards
Jochen

-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list