Thursday 18 June 2009 1:44:36 am
ahh, your talking about eclipse IntelliSense.. Thought you where talking about code not working in php.
I'm not sure how eclipse would understand what the function returns, remember that php is loosely typed so it's a bit unfair to compare it to java since those are two different worlds, and comparing it by how a java IDE supports it is.... well.. But you can try to add some php doc to the function to see if that helps. It would be something like:
/**
* Return the unique instance of the HTTP tool
*
* @static
* @return eZHTTPTool
*/
At least that made NetBeans (6.7) understand what kind of object it was for me.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|