My personal favorite is from Mastering Magento:
http://masteringmagento.com/2010/06/events-list-in-magento-community-1-4/
The section that I found most helpful is this
$this->_eventPrefix.'_add_is_active_filter $this->_eventPrefix.'_delete_after $this->_eventPrefix.'_delete_after_done $this->_eventPrefix.'_delete_before $this->_eventPrefix.'_delete_commit_after $this->_eventPrefix . '_load_after $this->_eventPrefix.'_load_after $this->_eventPrefix . '_load_before $this->_eventPrefix.'_move_after $this->_eventPrefix.'_move_before $this->_eventPrefix.'_'.$process.'_process_run_after $this->_eventPrefix.'_'.$process.'_process_run_before $this->_eventPrefix.'_save_after $this->_eventPrefix.'_save_before $this->_eventPrefix.'_save_commit_after $this->_eventPrefix.'_validate_after $this->_eventPrefix.'_validate_before
What we can do is take the event prefix from the list below and attach the action after. So for example you catalog_product event you want to do something after you simple do catalog_product_save_after. This is in no way a comprehensive list. The website Mastering Magento does offer a script to generate the Magento Events on your Linux server (I have not tried it)
admin_roles admin_user catalog_category catalog_category_collection catalog_compare_item catalog_entity_attribute cataloginventory_stock_item catalog_product catalogrule_rule cms_page core_abstract core_config_data customer customer_address customer_entity_attribute customer_group eav_entity_attribute eav_form_element eav_form_fieldset eav_form_type giftregisty_gift newsletter_subscriber review sales_creditmemo_item sales_invoice_item sales_order sales_order_creditmemo sales_order_invoice sales_order_item sales_order_shipment sales_order_shipment_track sales_quote sales_quote_address sales_quote_item sales_quote_payment salesrule_rule sales_shipment_item store store_group system_config_price_scope tag website wishlist_item
Nick Says has a very good list of Magento 1.5 Events here
http://www.nicksays.co.uk/magento_events_cheat_sheet/
Twitter: @brentwpeterson on Twitter
Linkedin: http://www.linkedin.com/in/brentwpeterson
View My Magento Profile
Very nice.
ReplyDeleteI developed a toolbar for magento which shows all events and observers which are defined.
Click on "Info" --> "Events/Observers"
It's free to use: http://developertoolbar.mgt-commerce.com/
Best regards,
Stefan