[TYPO3-mvc] URIBuilder rewrite
Xavier Perseguers
typo3 at perseguers.ch
Tue Sep 1 06:45:30 CEST 2009
Hi,
Steffen Kamper wrote:
> Hi Bastian & Xavier,
>
> +1 by reading. I will test this in the next days. Great improvement in
> general for building URLs! So thanks for the hard work.
In fact, the reset method was already added.
@Bastian: autoReset is not a must thus OK to leave it but I just thought that what would really be an improvement would be to allow chaining with reset too.
Thus please add a "return $this" at the end of method reset().
This will allow us to write $this->uriBuilder->reset()->uriFor(a few parameters);
Thanks.
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-project-typo3v4mvc
mailing list