[TYPO3-mvc] URIBuilder rewrite

Jochen Rau jochen.rau at typoplanet.de
Wed Aug 12 10:06:17 CEST 2009


Hi.

>> $this->targetPageUid should be set in constructor to
>> 1) TSFE: $GLOBALS['TSFE']->id
>> 2) BE: _GP('id') <= remember that be modules can be connected to page
>
> IMO it shouldn't be set in the constructor, but in the render() method
> so you could write
> $uriBuilder->setTargetPageUid(NULL);
> if you'd want to unset the "explicit" target PID.

IMO the most important argument to call a setter is the lack of a PID 
concept in FLOW3.

Regards
Jochen

-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list