[TYPO3-mvc] URIBuilder rewrite

Robert Lemke robert at typo3.org
Wed Aug 12 09:59:54 CEST 2009


Hi Steffen,

Am 12.08.2009 um 09:44 schrieb Steffen Kamper:

> i think 3b) would be a good option, but give an option to prevent  
> reset
> like build(FALSE) for bulk actions.

that's ugly!

If we really need to support bulk actions (which I'm not sure abot  
yet) we should
consider using no setters at all and instead provide a build method  
like:

build($actionName = NULL, $controllerArguments = array(),
$controllerName = NULL, $packageKey = NULL, $subpackageKey = NULL,  
$options = array());

This would, the more I think about it, the cleanest way.

robert


More information about the TYPO3-project-typo3v4mvc mailing list