[TYPO3-core] Bugfix 2457 (was Advice needed: move getBorderAttrinto t3lib_div?)

Martin Kutschker Martin.Kutschker at blackbox.net
Sun Feb 12 18:01:04 CET 2006


Michael Scharkow <michael at underused.org> writes on 
Sun, 12 Feb 2006 14:37:48 +0100 (MET):

> 
> Solution: Replace the hardcoded border=0 in tslib_menu with 
> tslib_cObj::getBorderAttr()


I'm not really happy that a method of cObj is called static. IMHO only classes or methods of classes htat are marked as static should be called in such a way otherwise we ahve troubles as we had before. getBorderAttr() currently does not rely on $this, but it might do so in the future.

Masi 



More information about the TYPO3-team-core mailing list