[TYPO3-mvc] URIBuilder rewrite

Steffen Kamper info at sk-typo3.de
Tue Aug 11 18:07:57 CEST 2009


Hi Bastian,

as we talked over skype about this i'm pleasured with nearly all. But i 
have some remarks.

All the setters return $this - i think only reason is to queue the calls 
like
$this->UriBuilder->setA()->setB()->setC()


I don't agree with getTargetPageUid.
$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 
tree.
Getters should be "silly" and should return the value of property :)

Where is the switch for BE in render()? We need it :)

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list