Task #9136

Clean up View implementations

Added by Bastian Waidelich over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
2010-08-04
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

Currently there are four classes implementing F3\FLOW3\MVC\View\ViewInterface in the FLOW3 package: AbstractView, EmptyView, JsonView and NotFoundView.
Some of them don't implement the interface correctly (assign() should return an instance of $this to allow chaining).
We decided to move the assignment functionality back to the AbstractView.
Obviously the code should still only reference the interfaces.

Besides, the AbstractView needs a cleaned up as it contains a lot of unneeded methods and objects.


Related issues

Related to TYPO3.Fluid - Bug #9090: Chaining of ->assign() does not work anymoreResolvedBastian Waidelich2010-07-30

Actions
#1

Updated by Bastian Waidelich over 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4931.

#2

Updated by Karsten Dambekalns over 10 years ago

  • Target version set to 1.0 alpha 11

Also available in: Atom PDF