In my heavily customized magento implementation we have a number of custom modules.
I also have a couple of observers in various modules that need to modify a certain customer attribute.
Ideally i’d like to abstract the method which handles attribute manipulation into a single point. I’m wondering what would be the best practice for doing so.
Should I create a helper method or is it better abstracted in the customer model?
The goal is to be able to call something like[ Mage::getSingleton(’mymodule/customer’)/Mage::helper(’mymodule/customer’)]->changeAttrib($params); ... of course i’d like to be able to call that from any part (mostly observers) of my app. What is the best or recommended approach?