_set = $set; $this->_parse(); } protected function _parse() { $this->_data = array( 'store_id' => $this->getSpringbotStoreId(), 'attribute_set_id' => $this->_set->getAttributeSetId(), 'name' => $this->_set->getAttributeSetName(), 'type' => $this->_type, 'attribute_items' => $this->_parseAttributes(), ); return parent::_parse(); } protected function _parseAttributes() { return Mage::helper('combine/attributes')->getParsedAttributesBySet($this->_set); } protected function _getHelper() { if(!isset($this->_helper)) { $this->_helper = Mage::helper('combine/attributes'); } return $this->_helper; } }