/** * * @return Mage_Core_Model_Mysql4_Collection_Abstract */ public function getCollection() { if (!$this->_collection) { $this->_collection = $this->_getCollection(); if ($this->_collection instanceof Mage_Eav_Model_Entity_Collection_Abstract) { $this->_collection->addAttributeToSelect($this->getAttributes()); } } return $this->_collection; }