Extbase:
authorSebastian Kurfürst <sebastian@typo3.org>
Thu, 28 May 2009 21:22:33 +0000 (21:22 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Thu, 28 May 2009 21:22:33 +0000 (21:22 +0000)
commit34a7724fd94dbec16b839331ef54e8be552e7d54
tree764f70c0fed8bdfc58179da1b18f53e34d9a9be6
parentcf26610f33afa514096acc35e1b084d092f4f4bd
Extbase:
* Backported major changes from FLOW3 to Extbase.
* !!! Some of these changes are not backwards-compatible!
* MVC:
** Controller:
*** Added ControllerContext
*** AbstractController:
**** !!! removed initializeArguments(). Use ActionController::initializeAction() instead.
*** ActionController:
**** !!! removed $initializeView
**** !!! new method signature of protected function initializeView(Tx_Extbase_View_ViewInterface $view)
** View:
*** !!! Removed Helper (and URIHelper)
**** !!! URIHelper has been moved to MVC_Web_Routing_URIBuilder and can be accessed through $this->controllerContext available in View and (Fluid) ViewHelpers
*** AbstractView:
**** !!! removed $request
**** removed $viewHelpers
**** !!! removed getViewHelper()
**** removed $contextVariables
**** added $controllerContext
* Validation:
** !!! ValidatorResolver: now internal! You should not need to use it!
** !!! renamed ChainValidator to ConjunctionValidator
** Introduced PropertyError
** Added new validators (f.e. DisjunctionValidator and some others missing from FLOW3)
23 files changed:
typo3/sysext/extbase/Classes/Dispatcher.php
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php
typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php
typo3/sysext/extbase/Classes/MVC/Controller/ArgumentsValidator.php
typo3/sysext/extbase/Classes/MVC/Controller/ControllerContext.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/MVC/Controller/ControllerInterface.php
typo3/sysext/extbase/Classes/MVC/View/AbstractView.php
typo3/sysext/extbase/Classes/MVC/View/EmptyView.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/MVC/View/Helper/AbstractHelper.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/Helper/HelperInterface.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/Helper/URIHelper.php [deleted file]
typo3/sysext/extbase/Classes/MVC/View/ViewInterface.php
typo3/sysext/extbase/Classes/MVC/Web/Routing/URIBuilder.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Error.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Errors.php [deleted file]
typo3/sysext/extbase/Classes/Validation/PropertyError.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Validator/AbstractValidator.php
typo3/sysext/extbase/Classes/Validation/Validator/ChainValidator.php [deleted file]
typo3/sysext/extbase/Classes/Validation/Validator/ConjunctionValidator.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Validator/DisjunctionValidator.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Validation/Validator/GenericObjectValidator.php
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php