$isDevMode = Mage::getIsDeveloperMode(); // Get the value of isDeveloperMode if($isDevMode) { // Store is in developer mode echo "This store is in developer mode!"; } else { // Store is not in developer mode echo "This store is not in developer mode!"; }
$isDevMode = Mage::getIsDeveloperMode(); // Get the value of isDeveloperMode if($isDevMode) { // Store is in developer mode // Do some custom development work here } else { // Store is not in developer mode // Conduct normal store operations here }Package: Magento Library.