/** * Define resource model * */ protected function _construct() { $this->_map = Zitec_TableRates_Model_Mysql4_Tablerate::getLogicalDbFieldNamesMap(); $this->_init('zitec_tablerates/tablerate'); $this->_countryTable = $this->getTable('directory/country'); $this->_regionTable = $this->getTable('directory/country_region'); }
public function __construct() { parent::__construct(); $this->_map = Zitec_TableRates_Model_Mysql4_Tablerate::getLogicalDbFieldNamesMap(); $this->setId('zitec_tablerates_tablerateGrid'); $this->setDefaultSort($this->_map['pk']); $this->setDefaultDir('DESC'); $this->setSaveParametersInSession(true); $this->setUseAjax(true); }
public function _construct() { parent::_construct(); $this->_map = Zitec_TableRates_Model_Mysql4_Tablerate::getLogicalDbFieldNamesMap(); $this->_init('zitec_tablerates/tablerate'); }
/** * * @return array */ protected function _getMap() { return Zitec_TableRates_Model_Mysql4_Tablerate::getLogicalDbFieldNamesMap(); }