This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Example: MainView.php <?php class MainView extends View { protected final function _main () { // This call buffers/queues the given template // file and gives it access to the MainView scope $this->setTemplate("template.php"); } private function privateMethod () { // Do something private } } ?> template.php <?php /* @var $this MainView */ $this->... ?> This obviously wont hint the privateMethod(), but since many frameworks works on this principle it would be nice to hint the scope too. E.g: /* @scope MainView */ which would provide MainView scope on $this.