[TYPO3-mvc] URIBuilder rewrite

Jochen Rau jochen.rau at typoplanet.de
Wed Aug 12 10:24:27 CEST 2009


Hi Robert.

Robert Lemke wrote:
> 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.

Funny. It seems we are coming back to the first implementation of the 
UriBuilder aka URI Helper which was

URIFor($actionName = NULL, $arguments = array(), $controllerName = NULL, 
$prefixedExtensionKey = NULL, $pageUid = NULL, array $options = array())

;-)

Regards
Jochen

-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list