php - Type hint for '$this' and other variables in phpFramework::view files? -
possible duplicate:
variable type hinting in netbeans (php)
/edit
in php frameworks, in views, $this refers controller object. netbeans doesn't know (i guessing neither other ides), when hit ctrl + space, code completion doesnt work (says no sugestions).
is there trick, or phpdoc directive can tell ide types of variable isn't declared in current file (and there no "include" or require_once either, because php framework takes care of convention, no explicit include made).
also in php frameworks there other variables besides $this in view.php files, putting on top of file php doc them doesn't seem either.
eclipse has method discovery, should php specialised versions of - aptana, or zend studio.
Comments
Post a Comment