Following on from Greg’s comments in the blog post it seems like it could be a good idea to have a thread specifically for getter/setter requests for future releases.
For my part there’s one particular variable that I’d like to continue to be able to read, namely $_map within the EE_Addons class. My Switchboard CP search addon uses this var to quickly determine which addons are currently installed and it also plays a key part in my caching mechanism, which stores processed addon data in the DB and refreshes it whenever the contents of the $_map var is modified. Without access to $_map I’ll need to generate my own array of installed addons which will add significant overhead and impact performance. I appreciate that this probably doesn’t impact anyone else but all the same it’d be extremely useful to me if I could continue to access this array in some way.
(Thanks for the dev preview and for the opportunity to provide feedback, it’s much appreciated.)
Thanks Wes, I appreciate it. The var in question is still publicly accessible in the 2.2 beta and Switchboard runs as normal, so the status quo suits me just fine for the time being. I just wanted to flag this up in the hope that it will continue to be accessible in some manner, or that I could get a bit of a heads-up if it was going to be made private in an imminent release.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.