I am overriding Mage/Customer/Model/Customer.php in my local module:
Abc/Customer/Model/Customer.php
protected function _beforeSave()
{
parent::_beforeSave();
echo get_class($this); //Abc_Customer_Customer_Model_Customer_Customer is the above output
Mage::getResourceModel('customer/customer')->_beforeSave($this);
The above code is coming from Mage/Model/Resource/Customer.php
This is throwing an error :
Fatal error: Call to protected method Mage_Customer_Model_Resource_Customer::_beforeSave() from context 'Abc_Customer_Model_Customer_Customer ....
How to call this method Mage::getResourceModel('customer/customer')->_beforeSave($this);
Abc/Customer/Model/Customer.php
class name should beAbc_Customer_Model_Customer.
plz put config.xml rewrite code