Created
December 4, 2011 12:32
-
-
Save brankoajzele/1430086 to your computer and use it in GitHub Desktop.
Inchoo_Phonebook Magento Test Extension: app/code/local/Inchoo/Phonebook/Model/User.php
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 Inchoo_Phonebook_Model_User extends Mage_Core_Model_Abstract | |
{ | |
/** | |
* Maps to the array key from Setup.php::getDefaultEntities() | |
*/ | |
const ENTITY = 'inchoo_phonebook_user'; | |
protected $_eventPrefix = 'inchoo_phonebook'; | |
protected $_eventObject = 'user'; | |
function _construct() | |
{ | |
$this->_init('inchoo_phonebook/user'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment