_init('blog/blog'); } public function getShortContent() { $content = $this->getData('short_content'); if (Mage::getStoreConfig(AW_Blog_Helper_Config::XML_BLOG_PARSE_CMS)) { $processor = Mage::getModel('core/email_template_filter'); $content = $processor->filter($content); } return $content; } public function getPostContent() { $content = $this->getData('post_content'); if (Mage::getStoreConfig(AW_Blog_Helper_Config::XML_BLOG_PARSE_CMS)) { $processor = Mage::getModel('core/email_template_filter'); $content = $processor->filter($content); } return $content; } public function _beforeSave() { if (is_array($this->getData('tags'))) { $this->setData('tags', implode(",", $this->getData('tags'))); } return parent::_beforeSave(); } }