![]() |
| [resolved] Intellisense |
|
Site Admin
|
You can't access properties of the class this way. |
||||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||||
|
Sure you can. When you include a file, you get the scope of the parent (except for functions, they become global).
So inside $file, you can reach the class var $bar by using $this->bar.
If you need, I can privately send you my class (sorry I cannot post it). It works fine, just my intellisense isn't there, which is a bummer.. |
||||||||||||||
|
|
|||||||||||||||
|
Site Admin
|
heh
try the following in the included file:
it will cause intellisense to treat $this as an instance of foo class. |
||||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||||
|
Ahh man.. you rock!! I hated having to open a file to see a var's properties
Thanks! |
||||||||||||
|
|
|||||||||||||
| [resolved] Intellisense |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed