Protected Member Functions | |
_construct () | |
_initUniqueFields () |
Definition at line 34 of file Rule.php.
_construct | ( | ) | [protected] |
Resource initialization
Reimplemented from Mage_Core_Model_Resource_Abstract.
Definition at line 36 of file Rule.php.
00037 { 00038 $this->_init('tax/tax_calculation_rule', 'tax_calculation_rule_id'); 00039 }
_initUniqueFields | ( | ) | [protected] |
Initialize unique fields
Reimplemented from Mage_Core_Model_Mysql4_Abstract.
Definition at line 46 of file Rule.php.
00047 { 00048 $this->_uniqueFields = array(array( 00049 'field' => array('code'), 00050 'title' => Mage::helper('tax')->__('Code'), 00051 )); 00052 return $this; 00053 }