Last active
August 16, 2018 08:23
-
-
Save doug48/9b712b69c793f65081f2d8467ca29d8d 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