[TYPO3-dev] problem with XCLASS: how to override a function in class.t3lib_browsetree.php ?

Tapio Markula tapio.markula at xetpoint.fi
Mon Jan 14 10:01:06 CET 2008


Daniel Pötzinger
> I think you try to modify that function for one of the child-classes?
> the t3lib_browsetree is used by many classes as baseclass - therefore 
> your XCLASS has no effect.  (because "localPageTree extends 
> t3lib_browseTree")
> 
> You can instead XCLASS one of the childs.

I have met similar problems trying to XCLASS some of Web > List related 
files - for one of them XCLASS doesn't work because the file is used by 
another core file. It would be nice, if core files, which can't have 
XCLASSes because of this reason, would not have confusing XCLASS 
inclusiong at all.




More information about the TYPO3-dev mailing list