Mage_Tax_Model_Mysql4_Calculation_Rule Class Reference

Inheritance diagram for Mage_Tax_Model_Mysql4_Calculation_Rule:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract

List of all members.

Protected Member Functions

 _construct ()
 _initUniqueFields ()


Detailed Description

Definition at line 34 of file Rule.php.


Member Function Documentation

_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

Returns:
Mage_Core_Model_Mysql4_Abstract

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:54 2009 for Magento by  doxygen 1.5.8