
Protected Member Functions | |
| _construct () | |
| _initUniqueFields () | |
Definition at line 35 of file Format.php.
| _construct | ( | ) | [protected] |
Resource initialization
Reimplemented from Mage_Core_Model_Resource_Abstract.
Definition at line 37 of file Format.php.
00038 { 00039 $this->_init('directory/country_format', 'country_format_id'); 00040 }
| _initUniqueFields | ( | ) | [protected] |
Initialize unique fields
Reimplemented from Mage_Core_Model_Mysql4_Abstract.
Definition at line 47 of file Format.php.
00048 { 00049 $this->_uniqueFields = array(array( 00050 'field' => array('country_id', 'type'), 00051 'title' => Mage::helper('directory')->__('Country and Format Type combination should be unique') 00052 )); 00053 return $this; 00054 }
1.5.8