[TYPO3-dev] Trying to make plugins compatible with Typo3 4.2

Tapio Markula tapio.markula at xetpoint.fi
Sat Mar 1 15:21:38 CET 2008


Martin Kutschker kirjoitti:
> Dmitry Dulepov [typo3] schrieb:
>> Hi!
>>
>> Oliver Hader wrote:
>>> That's a bug, the mentioned method should be "protected" instead of 
>>> "private" to be XCLASSable.
>>
>> Some methods are not. Not sure about this one, never used it.
> 
> Is there anything to think about? Offhand I say that for or XCLASS 
> mechanism all methods must be either publich or protected and never 
> private.
> 
> Masi

yes 'private' cause in many situations unnecessary need to redefine 
function and setting it something else than private. I hope that core 
people would check Typo3 4.2 not to use private function except in very 
specific situation.




More information about the TYPO3-dev mailing list