/** * After loading the collection, perform the afterLoad resource method on each item * * @return $this */ protected function _afterLoad() { $this->walk('afterLoad'); return parent::_afterLoad(); }
/** * Init collection select * * @return Mage_Core_Model_Resource_Collection_Abstract */ protected function _initSelect() { parent::_initSelect(); $this->getSelect()->join(array('_attribute_table' => $this->getTable('eav/attribute')), '`_attribute_table`.`attribute_id` = `main_table`.`attribute_id`', array('attribute_code', 'frontend_label')); return $this; }