[TYPO3-dev] RFC: turn all phpDoc "@access private" method declarations into protected methods

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Nov 20 09:32:43 CET 2007


Hi!

Martin Kutschker wrote:
> Some TYPO3 code has already a work-around for the lack of access control 
> in PHP4. I suggest we remove the phpDoc code and convert them into true 
> PHP declarations.
> 
> While this change may break some code nobody can complain. We said that 
> this stuff was private!
> 
> Note: to allow for XCLASSing it has to be "protected" and cannot be 
> "private".
> 
> Any opinions?

I think we discussed this shortly once. The result was that all old methods must remain as is for compatibility reasons and only new methods should get visibility attribute. That "@access" is not really followed...

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list