Mage_Directory_Model_Mysql4_Country_Format Class Reference

Inheritance diagram for Mage_Directory_Model_Mysql4_Country_Format:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract

List of all members.

Protected Member Functions

 _construct ()
 _initUniqueFields ()


Detailed Description

Definition at line 35 of file Format.php.


Member Function Documentation

_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

Returns:
Mage_Core_Model_Mysql4_Abstract

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     }


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

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