SilentTemplateFileUpgradeService

Execute "silent" upgrades for folder structure template files, if needed.

Since the content of the template files may changed over time this class performs the necessary content changes in those files already present in the installation. It is called by the layout controller at an early point.

Every change is encapsulated in one method and must throw a TemplateFileChangedException if its content was updated.

Internal

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Table of Contents

Properties

$webServerConfigurationFileService  : WebServerConfigurationFileService

Methods

__construct()  : mixed
execute()  : void
Executed content changes. Single upgrade methods must throw a TemplateFileChangedException if content of the file was updated.
addBackendRoutingRewriteRules()  : void
throwTemplateFileChangedException()  : void
Throw exception after template file content change to trigger a redirect.

Properties

Methods

execute()

Executed content changes. Single upgrade methods must throw a TemplateFileChangedException if content of the file was updated.

public execute() : void
Tags
throws
TemplateFileChangedException

throwTemplateFileChangedException()

Throw exception after template file content change to trigger a redirect.

protected throwTemplateFileChangedException() : void
Tags
throws
TemplateFileChangedException

        
On this page

Search results