![]() |
![]() | Code completion for object instances in arrays | ![]() |
![]() |
![]() | ![]() |
![]() |
![]() |
I'll revive this post to throw my support in. I run into this all the time using $GLOBALS['objectname'] from within a function. This happens most often when doing database stuff for me, since my database connections (and associated methods) are in a global object that I often need to access from otuside the global scope:
I know it's easy enough to throw in a 'global $db' in each function, but that gets messy fast. |
|||||||||||||
|
![]() |
![]() | Code completion for object instances in arrays | ![]() |
|
||
![]() |
![]() |
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
