[TYPO3-core] RFC: Bug #7203: Hook cObjTypeAndClassDefault in tslib_content somtimes fails

Ingmar Schlecht ingmar at typo3.org
Tue Jan 22 13:50:45 CET 2008


Dmitry Dulepov [typo3] wrote:
> Hi!
> 
> Stefan Geith wrote:
>> Where and when has this coment to be added ?
>> Can I find this in the coding guidelines ?
> 
> This is not official yet. Basically if you obtain object instance from 
> "new" operator, it is clear for IDEs what object type is and they can 
> propose methods and attributes in code assist. If you obtain instance 
> from another function (like t3lib_div::makeInstance), IDEs have no idea 
> what it is and code assist does not work. So we do this:

I'd be so great if someone could hack Eclipse to understand that 
t3lib_div::makeInstance() is an "instace-maker" so we can get around 
adding all those extra comments.

cheers
Ingmar

-- 
Ingmar Schlecht
TYPO3 Association Active Member


More information about the TYPO3-team-core mailing list