Pas*_*ein 4 php eclipse intellisense netbeans class
我使用Kohana 3.x作为我的Webapplication-Framework(使用MVC模式)并使用Propel作为我的ORM.在我的Controller中,我创建了一个对象,该对象表示拥有当前会话的配置文件:
$this->currentProfile = ProfileQuery::create()->findPK($profileId);
Run Code Online (Sandbox Code Playgroud)
我将对象传递给我使用的视图:
View::set_global('myProfile', $this->currentProfile); // c
Run Code Online (Sandbox Code Playgroud)
现在我可以在我的视图中使用对象"myProfile".但问题是,在这些视图中,Netbeans和Eclipse都不知道对象的类.所以我不能再使用Intellisense了(这是首先使用Propel的关键功能之一).所以请帮助我:我如何告诉Eclipse和/或Netbeans我的对象"myProfile"属于哪个类?