Mage_Install_Model_Observer Class Reference

List of all members.

Public Member Functions

 bindLocale ($observer)
 installFailure ($observer)


Detailed Description

Installation event observer

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Observer.php.


Member Function Documentation

bindLocale ( observer  ) 

Definition at line 34 of file Observer.php.

00035     {
00036         if ($locale=$observer->getEvent()->getLocale()) {
00037             if ($choosedLocale = Mage::getSingleton('install/session')->getLocale()) {
00038                 $locale->setLocaleCode($choosedLocale);
00039             }
00040         }
00041         return $this;
00042     }

installFailure ( observer  ) 

Definition at line 44 of file Observer.php.

00045     {
00046         echo "<h2>There was a problem proceeding with Magento installation.</h2>";
00047         echo "<p>Please contact developers with error messages on this page.</p>";
00048         echo Mage::printException($observer->getEvent()->getException());
00049     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:27 2009 for Magento by  doxygen 1.5.8