I am using PHPStorm which is really a great search tool, and I'm searching from the root Magento folder (not just the
app folder). I'm searching for:
using regexp. Where would this be, is this a native method or something?
Best How To :
Without any context, my best guess is that this is just using the inherited
Varien_Object getter (i.e.
__call()). Look for
setExportedKeys() and you will probably find the source of the data.
This is a common pattern in Object Oriented Programming. By having all your objects of a particular type share a common ancestor, you can write methods that are shared across your entire code base.
One of the things
Varien_Object provides is Magento’s famous “getter” and “setter” methods. These methods are implemented via PHP’s magic
__call method. Since the customer object referenced above doesn’t have a
setFirstName function, PHP calls