Mage_Tax_Model_Mysql4_Class Class Reference

Inheritance diagram for Mage_Tax_Model_Mysql4_Class:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract

List of all members.

Public Member Functions

 _construct ()

Protected Member Functions

 _initUniqueFields ()


Detailed Description

Definition at line 35 of file Class.php.


Member Function Documentation

_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

Returns:
Mage_Core_Model_Mysql4_Abstract

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     }


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