Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

getConfigData
 
Stefanos Z
Jr. Member
 
Total Posts:  9
Joined:  2008-07-17
Athens,GR
 

Hi.

I have a processing Controller and I want to retrieve some data from the config.xml of the module.

The module is called paytester.

I have a line :

$this->getConfigData(’payment’)

but I get error that is invalid.

Any solutions???

 
Magento Community Magento Community
Magento Community
Magento Community
 
nikefido
Guru
 
Avatar
Total Posts:  481
Joined:  2008-07-11
New Haven, CT
 

try

Mage::registry('payment');

or actually, after looking at Mage.php, maybe this

Mage::getStoreConfig('payment');
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top