[TYPO3-mvc] URIBuilder rewrite
Bastian Waidelich
bastian at typo3.org
Mon Aug 31 10:29:05 CEST 2009
Hi all,
I finally managed to upload a new version of the UriBuilder rewrite.
It incorporates the discussed changes, namely:
- renamed "setAddQueryStringExcludeArguments" to
"setArgumentsToBeExcludedFromQueryString"
- renamed "setAbsoluteUri" to "setCreateAbsoluteUri"
- removed integer type casting in setTargetPageUid to allow to reset the
targetPage to NULL
- added support for "backend flavoured" URIs
- renamed render() to build() that calls buildFrontendUri() or
buildBackendUri() depending on the current TYPO3_MODE
- convertDomainObjectsToIdentityArrays() is now called _after_ merging
arguments. So domain objects in "additional Params" will be replaced too
- refactoring (mainly splitting-up the render() code into smaller methods)
- added 26 unit tests (wohoo!)
See http://forge.typo3.org/attachments/1551/UriBuilder.php and shoot!
To test the new version, please remove the existing URIBuilder and apply
the patches "3981_tx_extbase_adjustments_v1.patch" and
"3981_tx_fluid_adjustments_v1.patch" from
http://forge.typo3.org/issues/show/3981
Looking forward to reading your feedback!
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list