Mage_Customer_Model_Observer Class Reference

List of all members.

Public Member Functions

 beforeLoadLayout ($observer)


Detailed Description

Customer module observer

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

Definition at line 32 of file Observer.php.


Member Function Documentation

beforeLoadLayout ( observer  ) 

Definition at line 34 of file Observer.php.

00035     {
00036         $loggedIn = Mage::getSingleton('customer/session')->isLoggedIn();
00037 
00038         $observer->getEvent()->getLayout()->getUpdate()
00039            ->addHandle('customer_logged_'.($loggedIn?'in':'out'));
00040     }


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

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