I created a module with an observer for the sales module with event hook ‘sales_order_shipment_save_after’ ,
My module has the following files
- Company/Modulename/etc/config.xml
- Company/Modulename/etc/system.xml
- Company/Modulename/Model/Observer.php
there are four fields in the modules admin configuration fields
I want to get those saved data in the Observer class.
using $this->getConfigData(’password’); gives a
Call to undefined method
error
Any suggestions?
Magento uses a static method on the global
Mageapplication object to get configuration values