Skip to main content
grammer
Source Link
huzefam
  • 2.6k
  • 4
  • 19
  • 33

We listen to various explicit and implicit events dispatched in Magento and hook up methods to perform our own logic.

But the thing i have wondered is, is there a way to know what objects i am able to access in the observer method specially for some explicitly called events, otherrather than going and looking at where the event is dispatched.

Is there a way by which we know which objects are passed in Varien_Event_Observer param?

We listen to various explicit and implicit events dispatched in Magento and hook up methods to perform our own logic.

But the thing i have wondered is, is there a way to know what objects i am able to access in the observer method specially for some explicitly called events, other than going and looking at where the event is dispatched.

Is there a way by which we know which objects are passed in Varien_Event_Observer param?

We listen to various explicit and implicit events dispatched in Magento and hook up methods to perform our own logic.

But the thing i have wondered is, is there a way to know what objects i am able to access in the observer method specially for some explicitly called events, rather than going and looking at where the event is dispatched.

Is there a way by which we know which objects are passed in Varien_Event_Observer param?

Source Link
huzefam
  • 2.6k
  • 4
  • 19
  • 33

Magento Event/Observer - access event objects

We listen to various explicit and implicit events dispatched in Magento and hook up methods to perform our own logic.

But the thing i have wondered is, is there a way to know what objects i am able to access in the observer method specially for some explicitly called events, other than going and looking at where the event is dispatched.

Is there a way by which we know which objects are passed in Varien_Event_Observer param?