magento Get store name and other details from system configuration Get all Magento stores


Example

Mage::app()->getStores();

Returns an array of Mage_Core_Model_Store models.