Bug #1349

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

Added by Sebastian Kurfuerst almost 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-08-26
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:MVC
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 1
PHP Version: Complexity:
Has patch: Affected Flow version:

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 FLOW3 Resolved 2009-05-19

Associated revisions

Revision bb72757e
Added by Karsten Dambekalns about 6 years ago

FLOW3:
  • removed MVC\View\Template, fixes #1349

History

#1 Updated by Karsten Dambekalns over 6 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
  • Assigned To 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 about 6 years ago

  • Target version set to 1.0 alpha 1

#3 Updated by Karsten Dambekalns about 6 years ago

  • Status changed from Needs Feedback to Accepted

#4 Updated by Karsten Dambekalns about 6 years ago

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

Applied in changeset r2250.

Also available in: Atom PDF