I have successfully created my first module. My module uses Events System to perform an action. So, I trigger an action when product is added & edited.
I used following line of code to add action to the event in my module's model file:
Code: Select all
$this->model_extension_event->addEvent('mu_doaction', 'admin/model/catalog/product/addProduct/after', 'extension/module/mu_doaction/addActionProductAdd', 1);