-
-
Save zeloc/7776647292f1cd078e1503817fee9c7c to your computer and use it in GitHub Desktop.
magento 1 get config.xml node values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment