Code completition |
Guru master
|
You probably need to declare the variable before it is assigned, which is before the for loop:
Like you, I often assign the collection to a variable (easier for debugging), but you can shorten like this if $configs is not used elsewhere:
|
||||||||||||||||
|
|
Thank you it works.
But the way i coded in my first post worked with older version of phped. |
||||||||||||
|
Site Admin
|
If you provide more complete sample illustrating your case, it would be clearer what's up.
I think @var IDPerso_Ads_Model_Mysql4_SubscriptionConfig_Collection would be enough if this is a class implementing iterator with known reference type returned by current() method As of includes in the project, you do not have to refresh them. Refresh in Code Explorer is always enough. Includes play role only and only if "limit scope to includes" is turned on and we recommend to keep it turned off (meaning do not limit scope to includes) |
||||||||||||
_________________ The PHP IDE team |
Code completition |
|
||
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