Exemplo n.º 1
0
 /**
  * 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');
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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();
 }