getParserModel(), $model); $parser->setMageStoreId($this->getStoreId()); $parser->setStoreId($this->getStoreId()); $parser->parse(); if ($this->getDelete()) { $parser->setIsDeleted(true); } return $parser->getData(); } public function loadMageModel($id) { return $this->_getHelper()->getAttributeSetById($id); } protected function _getHelper() { if(!isset($this->_helper)) { $this->_helper = Mage::helper('combine/attributes'); } return $this->_helper; } }