Issue Bug Closed

#17614Modify class TSpagegen to call it as an object.

Dmytro 09/18/07, 17:25 updated 06/15/15, 10:16

Description

Class TSpagegen made in a way that it called statically, with :: from typo3/sysext/cms/tslib/pagegen.php. And also it contains static calls to it’s own methods. This way of creating that class does not allow to extend it. E.g. I have wrote extension which modifies <base> tag functionality to print it as <base> for buggy IE, by extending TSpagegen. But as TSpagegen called statically I can not use my extension (and have to patch TSpagegen manually all the time after upgrade).
So, there is need to change only these 2 files (in version 4.2.0a, 4.1.2, 4.0.7).
typo3/sysext/cms/tslib/pagegen.php are same in all current versions. So t possible to use patch for them.
typo3/sysext/cms/tslib/class.tslib_pagegen.php differs a little bit. If you need patch for all the version I will send it.

(issue imported from #M6362)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.