[TYPO3-dev] XCLASS conflict examples

tapio tapio.markula at dnainternet.net
Mon Feb 13 16:23:03 CET 2006


>> greets,
>> Bernhard

Bernhard - you have *totally* unnecessary conflict between
'kb_conttable' and 'kb_pm_paste'.


Simple way to to avoid unnecessary conflicts is to make *local* version 
of some functions 

instead of making extension class for some functions simple make a 
local version of them. 

kb_conttenttable and 'kb_pm_paste has unnecessary conflicts extending 
'class.ux_t3lib_clipboard.php'. 

kb_pm_paste has a XCLASS for *two small functions* - totally 
unnecessary and creates an unnecessary conflict with 'class.
ux_t3lib_clipboard.php' for 'kb_conttable'. 

It is just BAD habit to user XCLASS as habit for all functions, which 
has the same name! 

I take off that conflict making local version of two functions inside 
'class.ux_tx_cms_layout.php' instead of inside class.ux_t3lib_clipboard.
php! Simple. 




More information about the TYPO3-dev mailing list