doug48
6/14/2017 - 8:53 AM

magento 1 get config.xml node values

magento 1 get config.xml node values

<?php
//Note name children with unique names
//<store_attachments>
//  <store_1></store_1>
//  
//</store_attachments>
$value = Mage::getConfig()->getNode('store_attachemnts')->asArray();
// or
$value = Mage::getConfig()->getNode('default/store_attachemnts')->asArray();