As beginning Joomla! developer, I would appreciate every bit of help IDE can offer. I'm having little problem with PHPDocumentator and code completion under eclipse IDE. Looking up for every class definition in code is very time-consuming, so here is the problem
- Object return value
In this case PHPDoc treats returned value as instance of object class.
Code: Select all
/** * @return object JApplication */
does (correctly) treat returned object as instance of JApplication class, but I don't want to rewrite every single doc string in applicationCode: Select all
/** * @return JApplication */
- Class methods
PHPDoc will treat $mainframe as instance of JFactory class, and not JApplication, as it should do, while
Code: Select all
$mainframe =& JFactory::getApplication('site');
works well.Code: Select all
$factory = new JFactory(); $mainframe =& $factory->getApplication('site');
If it is important, I'm using
Version: 3.3.0
Build id: I20070625-1500
with XDebug 0.2.3