Actions
Bug #24516
closedBackwards compatibility in PHP_SCRIPT and accessing $this-> methods
Start date:
2011-01-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Older sites might include PHP_SCRIPT cObject accessing cObject methods through $this->. Since the PHP_SCRIPT object was moved to its own class, the old methods will stop working (e.g. older "languageMenu.php" or stuff like http://www.sk-typo3.de/awstats-Zaehlen-von-Dateidownloads.55.0.html
Solution is to add a __call() catch-all to PHP_SCRIPT intercepting those calls and passing them to $this->cObj, while making a note of it in deprecation log.
(issue imported from #M16970)
Actions