Project

General

Profile

Actions

Bug #21078

closed

Optimize disposal of t3lib_PageRenderer

Added by Oliver Hader over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2009-09-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_PageRenderer is currently used in the TYPO3 backend and frontend. There the classes template and tslib_fe inherit from t3lib_PageRenderer. However, in frontend disposal it's not required to have the feature set of the page renderer loaded if a request gets served by the cache and nothing is rendered at all.

Thus, instead of using "tslib_fe extends t3lib_PageRenderer", an aggreation shall be used.
Extension can then access the page renderer e.g. by $TSFE->getPageRenderer()->addJsFile()

(issue imported from #M11985)


Files

0011985.patch (39.9 KB) 0011985.patch Administrator Admin, 2009-09-17 18:46
Actions #1

Updated by Oliver Hader over 14 years ago

Committed to SVN Trunk (rev. 5955)

Actions

Also available in: Atom PDF