Last active
December 15, 2015 20:55
-
-
Save sashas777/0223bb98b5abb8902cb2 to your computer and use it in GitHub Desktop.
Magento Dispatch Observer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Mage_Customer_AccountController extends Mage_Core_Controller_Front_Action | |
{ | |
.... | |
/** | |
* Dispatch Event | |
* | |
* @param Mage_Customer_Model_Customer $customer | |
*/ | |
protected function _dispatchRegisterSuccess($customer) | |
{ | |
Mage::dispatchEvent('customer_register_success', | |
array('account_controller' => $this, 'customer' => $customer) | |
); | |
} | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment