public function getCollection() { $collection = new TM_EasyTabs_Model_Config_Collection(); $collection->load(); return $collection; }
protected function _getCollection() { $collection = new TM_EasyTabs_Model_Config_Collection(); $storeId = Mage::app()->getStore()->getStoreId(); return $collection->setOrder('sort_order', Varien_Data_Collection::SORT_ORDER_ASC)->addFieldToFilter('status', array('eq' => 1))->addFieldToFilter('store_id', array('in' => array($storeId, 0))); }