[TYPO3-dev] Backend PHP doesn't have XCLASS!
Tapio Markula
tapio.markula at xetpoint.fi
Thu Mar 6 08:00:14 CET 2008
Steffen Kamper kirjoitti:
> "Tapio Markula" <tapio.markula at xetpoint.fi> schrieb im Newsbeitrag
> news:mailman.1.1204710621.13688.typo3-dev at lists.netfielders.de...
>> Georg Ringer kirjoitti:
>>> Tapio Markula wrote:
>>>> Backend PHP doesn't have XCLASS!
>>> So where is your patch?
>>>
>>> Georg
>> sorry - the XCLASS was upper than I expected but private function is bad.
>
> so go ahead and make a patch for backend.php and rename private to protected
> ;)
>
> vg Steffen
>
>
useless - the XCLASS for backend.php is simply ignored - apparently it
has used so that XCLASS declarations come always too late.
This happens also for some other core files and that makes XCLASSing
impossible.
So it would be nice if the function 'setStartupModule()' would have hook
in order to reset the variable '$startModule'
// here needed a hook to reset '$startModule'
if($startModule) {
$this->js .= '
// start in module:
function startInModule(modName, cMR_flag, addGetVars) {
Event.observe(document, \'dom:loaded\', function() {
top.goToModule(modName, cMR_flag, addGetVars);
});
}
More information about the TYPO3-dev
mailing list