Skip to content

Instantly share code, notes, and snippets.

@sashas777
Created December 15, 2015 21:31
Show Gist options
  • Save sashas777/896ac92c556966fa64e6 to your computer and use it in GitHub Desktop.
Save sashas777/896ac92c556966fa64e6 to your computer and use it in GitHub Desktop.
Example of Observer.php file
<?php
class Namespace_Module_Model_Observer {
public function customerRegisterSuccess(Varien_Event_Observer $observer) {
$customer=$observer->getCustomer();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment