Bug #1349
Remove MVC\View\Template (was: Method MVC\View\Template->substitutePart is not used and empty)
Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Target version:
Start date:
2008-08-26
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
Complexity:
Description
Hello,
I think that the method F3_FLOW3_MVC_View_Template->substitutePart can be removed, as it looks like the following:
/** * Substitutes a subpart in $content with the content of $subpartContent. * * @param string Content with subpart wrapped in fx. "###CONTENT_PART###" inside. * @param string Marker string, eg. "###CONTENT_PART###" * @param array * @return string Processed input content * @author Robert Lemke <robert@typo3.org> */ protected function substitutePart($subject, $marker, $replacement) { }
Related issues
Updated by Karsten Dambekalns almost 12 years ago
- Subject changed from Method F3_FLOW3_MVC_View_Template->substitutePart is not used and empty to Remove MVC\View\Template (was: Method MVC\View\Template->substitutePart is not used and empty)
- Status changed from New to Needs Feedback
- Assignee set to Karsten Dambekalns
Probably the MVC\View\Template class could be removed completely. It is very bare-bones and Fluid will be used for TYPO3v5 anyway (and we should promote one standard for the time being). The only reason to keep the marker-style would be to cater for the needs of some old-school developers. But will those make the switch?
Updated by Karsten Dambekalns over 11 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r2250.