*/ class Mage_Cms_Helper_Data extends Mage_Core_Helper_Abstract { const XML_NODE_PAGE_TEMPLATE_FILTER = 'global/cms/page/tempate_filter'; const XML_NODE_BLOCK_TEMPLATE_FILTER = 'global/cms/block/tempate_filter'; /** * Retrieve Template processor for Page Content * * @return Varien_Filter_Template */ public function getPageTemplateProcessor() { $model = (string)Mage::getConfig()->getNode(self::XML_NODE_PAGE_TEMPLATE_FILTER); return Mage::getModel($model); } /** * Retrieve Template processor for Block Content * * @return Varien_Filter_Template */ public function getBlockTemplateProcessor() { $model = (string)Mage::getConfig()->getNode(self::XML_NODE_BLOCK_TEMPLATE_FILTER); return Mage::getModel($model); } }