I want to listen to an event by using an observer in my module. There are some other module observers as well which are listening the same event. So is there any particular order of firing the observer functions for this event? Or can I set is through the code to fire my modules observer function after some other observer function?
Any suggestions will be appreciated. Thanks in advanced.
The only way you can set order of the observers on the events is by module dependencies.
For example if you have one observer in the module Ns1_Module1 and one in Ns2_Module2 and you want the one in Ns2_Module2 to be fired first, you need to make Ns1_Module1 depend on Ns2_Module2 in app/etc/modules/Ns1_Module1.xml