Deprecation: #86207 - Protected tstemplate extension
See forge#86207
Description
To allow refactoring of the Web -> Template module in TYPO3 v10, the involved controller classes have been disentangled and better encapsulated:
- Class
\TYPO3\
does not extendCMS\ Tstemplate\ Controller\ Typo Script Template Module Controller \TYPO3\
anymoreCMS\ Backend\ Module\ Base Script Class - Class
\TYPO3\
does not extendCMS\ Tstemplate\ Controller\ Template Analyzer Module Function Controller \TYPO3\
anymoreCMS\ Backend\ Module\ Abstract Function Module - Class
\TYPO3\
does not extendCMS\ Tstemplate\ Controller\ Typo Script Template Constant Editor Module Function Controller \TYPO3\
anymoreCMS\ Backend\ Module\ Abstract Function Module - Class
\TYPO3\
does not extendCMS\ Tstemplate\ Controller\ Typo Script Template Information Module Function Controller \TYPO3\
anymoreCMS\ Backend\ Module\ Abstract Function Module - Class
\TYPO3\
does not extendCMS\ Tstemplate\ Controller\ Typo Script Template Object Browser Module Function Controller \TYPO3\
anymoreCMS\ Backend\ Module\ Abstract Function Module
Setting an instance of class Typo
as global object $GLOBALS
has been marked as deprecated and will be removed in TYPO3 v10.
The following class properties have been set from public to protected and will not be accessible in TYPO3 v10 anymore:
TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->text Extensions TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->pageinfo TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->id TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->mod TSconfig TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->content TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->ext Obj TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->access TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->perms_ clause TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->ext Class Conf TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->edit TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->mod Menu_ type TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->MCONF TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->CMD TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Module Controller->s Obj TYPO3\
CMS\ Tstemplate\ Controller\ Template Analyzer Module Function Controller->p Obj TYPO3\
CMS\ Tstemplate\ Controller\ Template Analyzer Module Function Controller->function_ key TYPO3\
CMS\ Tstemplate\ Controller\ Template Analyzer Module Function Controller->ext Class Conf TYPO3\
CMS\ Tstemplate\ Controller\ Template Analyzer Module Function Controller->local Lang File TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Constant Editor Module Function Controller->p Obj TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Constant Editor Module Function Controller->function_ key TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Constant Editor Module Function Controller->ext Class Conf TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Constant Editor Module Function Controller->local Lang File TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Information Module Function Controller->p Obj TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Information Module Function Controller->function_ key TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Information Module Function Controller->ext Class Conf TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Information Module Function Controller->local Lang File TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Information Module Function Controller->tce_ processed TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Object Browser Module Function Controller->p Obj TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Object Browser Module Function Controller->function_ key TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Object Browser Module Function Controller->ext Class Conf TYPO3\
CMS\ Tstemplate\ Controller\ Typo Script Template Object Browser Module Function Controller->local Lang File
The following class methods have been set from public to protected and will not be accessible in TYPO3 v10 anymore:
TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->get External Item Config () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->init () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->clear Cache () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->main () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->set In Page Array () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->menu Config () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->merge External Items () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->handle External Function Value () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->check Ext Obj () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->ext Obj Content () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->get Ext Obj Content () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->check Sub Ext Obj () TYPO3CMSTstemplate
Controller Typo Script Template Module Controller->ext Obj Header () TYPO3CMSTstemplate
Controller Template Analyzer Module Function Controllerinitialize_ editor () TYPO3CMSTstemplate
Controller Template Analyzer Module Function Controllermod Menu () TYPO3CMSTstemplate
Controller Template Analyzer Module Function Controllerhandle External Function Value () TYPO3CMSTstemplate
Controller Typo Script Template Constant Editor Module Function Controllerinitialize_ editor () TYPO3CMSTstemplate
Controller Typo Script Template Constant Editor Module Function Controllerhandle External Function Value () TYPO3CMSTstemplate
Controller Typo Script Template Information Module Function Controllerinitialize_ editor () TYPO3CMSTstemplate
Controller Typo Script Template Information Module Function Controllertable Row Data () TYPO3CMSTstemplate
Controller Typo Script Template Information Module Function Controllerhandle External Function Value () TYPO3CMSTstemplate
Controller Typo Script Template Object Browser Module Function Controllerinitialize_ editor () TYPO3CMSTstemplate
Controller Typo Script Template Object Browser Module Function Controllermod Menu () TYPO3CMSTstemplate
Controller Typo Script Template Object Browser Module Function Controllerhandle External Function Value ()
Impact
If an extension accesses one of the above protected properties or calls one of the above protected methods,
a E_
error will be triggered.
Affected Installations
There are not many extensions that extend the tstemplate
extension with own modules, it is relatively
unlikely that instances are affected by this.
Migration
If extending the tstemplate
module with an own extension, the extension should be adapted to not call
the above methods or properties any longer. Most usages can be easily adapted, for instance
to retrieve the current page id, use General
instead of $this->p
.