Bug #1349

Remove MVC\View\Template (was: Method MVC\View\Template->substitutePart is not used and empty)

Added by Sebastian Kurfuerst over 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
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

Related to TYPO3.Flow - Feature #3382: Make Fluid the default templating engine in FLOW3ResolvedKarsten Dambekalns2009-05-19

Actions
#1

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?

#2

Updated by Robert Lemke over 11 years ago

  • Target version set to 1.0 alpha 1
#3

Updated by Karsten Dambekalns over 11 years ago

  • Status changed from Needs Feedback to Accepted
#4

Updated by Karsten Dambekalns over 11 years ago

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

Applied in changeset r2250.

Also available in: Atom PDF