20
Jan

Quick Magento tip.

If you need to access the getConfigData() function from your controller do this:

Mage::getModel('<name of the model for this controller>')->getConfigData(<fieldname>);

For example if you want to call getConfigData() from the Mage_Mymodule_MyworldController controller then:

Mage::getModel('Mage_Mymodule_Model_Myworld')->getConfigData(<fieldname>);

, ,

gayatri.sa
Posted by on 20 Jan 2010 by gayatri.sa in Magento eCommerce Tips

Add reply

*