Public Member Functions | |
_construct () | |
Protected Member Functions | |
_initUniqueFields () |
Definition at line 35 of file Class.php.
_construct | ( | ) |
Resource initialization
Reimplemented from Mage_Core_Model_Resource_Abstract.
Definition at line 37 of file Class.php.
00038 { 00039 $this->_init('tax/tax_class', 'class_id'); 00040 }
_initUniqueFields | ( | ) | [protected] |
Initialize unique fields
Reimplemented from Mage_Core_Model_Mysql4_Abstract.
Definition at line 47 of file Class.php.
00048 { 00049 $this->_uniqueFields = array(array( 00050 'field' => array('class_type', 'class_name'), 00051 'title' => Mage::helper('tax')->__('Error while saving this tax class. Class with the same name '), 00052 )); 00053 return $this; 00054 }