[Typo3-dev] Hook request - logout for newloginbox

Ingmar Schlecht ingmar at typo3.org
Sat Feb 12 14:15:59 CET 2005


Hi Wolfgang,

Wolfgang Klinger schrieb:
>  XCLASS makes no sense at all IMHO ;-)

IMHO they do make sense for quick customizations but should be avoided 
in the long run.

They are particularly nice if you don't want to wait with releasing your 
extension until the next TYPO3 Core is released that contains the hook 
for your extension.

You could then make a conditional statement like:

// dummy code:

if(typo3version < 3.8) {
   use XCLASS
} elseif (typo3version => 3.8) {
   use hook
}

cheers,
Ingmar

-- 
Ingmar Schlecht <ingmar at typo3.org>
Lübeck, Germany




More information about the TYPO3-dev mailing list