Feature #3302
Implement a "Controller Context"
Status: | Resolved | Start date: | 2009-05-14 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Christopher Hlubek | % Done: | 100% |
|
Category: | MVC | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 1 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
We need a new class "ControllerContext" which contains contextual information about a controller:
- the request object
- the response object
- arguments
- argumentsMappingResults
- the URI Builder instance
The ControllerContext is a property of the AbstractController.
ActionController->initializeView() should inject the ControllerContext into the view. The request should not be injected anymore (therefore the view needs to be refactored).
Associated revisions
Fixes #3302: implementing a Controller Context except for adding the URIhelper
History
#1 Updated by Robert Lemke about 6 years ago
Also remove $packageKey from AbstractConctroller - use $request->getControllerPackageKey instead.
#2 Updated by Christopher Hlubek about 6 years ago
- Assigned To changed from Sebastian Kurfuerst to Christopher Hlubek
#3 Updated by Christopher Hlubek about 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r2225.