I'm trying to call a function in an observer from another observer. I have a custom product type I've created called assembly. In my assembly config.xml


and in the model/observer.php

class MyNamespace_Assembly_Model_Observer
    public function MyFunction($observer)

How do I call MyFunction($observer) from an observer I have in another module?


Like any other model function:


or, if you do not work with singleton observers:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.