G2 Events: Order of Modules
Dayo
Joined: 2005-11-04
Posts: 1642 |
Posted: Thu, 2011-04-21 22:41 |
Does any one know if the order in which modules listening for an event are called is documented anywhere? I.E. if Modules "A" and "B" are both listening for Event "Z", presumably they will have to be run one after the other and the question is whether how this is determined is documented. I suppose I could try to root through the core files to try to figure it out. Thanks -- |
|
Posts: 1642
Nevermind. Found it in http://gallery.menalto.com/apidoc/GalleryCore/Classes/GalleryCoreApi.html#methodregisterFactoryImplementation
"$orderWeight" does it.
--
dakanji.com