[TYPO3-core] RFC/FYI: adding @var phpDoc variable comments
Dmitry Dulepov [typo3]
dmitry at typo3.org
Thu Aug 16 08:50:58 CEST 2007
Ingo Renner wrote:
> When working with PHP IDE / PDT / Zend's PHP Plugin for Eclipse you have
> code completion on variables the IDE knows their type.
> In some/many (?) cases this is not the case because of TYPO3's usage of
> To enable code completion even with using makeInstance you can add
> phpDoc before the variables
> * some description for the var
> * @var classWhichThisVariableIsOf
> Since I consider this a nobrainer I will add those comments to variables
> as I come across variables where it makes sense to add those comments
> and where they're missing.
> - Unless someone complains about this request.
TYPO3 freelancer / TYPO3 core team member
More information about the TYPO3-team-core