What Is The Structure Of Event Observers, And How Are Properties Accessed Therein?

Q. What is the structure of event observers, and how are properties accessed therein?

for checkout/cart after adding product,
Mage::dispatchEvent(’checkout_cart_product_add_after’, array(’quote_item’=>$result, ‘product’=>$product));
to call,
$observer->getEvent()->getQuoteItem() and $observer->getEvent()->getProduct()

Zeen is a next generation WordPress theme. It’s powerful, beautifully designed and comes with everything you need to engage your visitors and increase conversions.