-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
vn-rajeev
committed
Apr 23, 2015
1 parent
95a06cb
commit 3d33abf
Showing
7 changed files
with
421 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?php | ||
/** | ||
* Rkt_JsCssforSb extension | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the MIT License | ||
* that is bundled with this package in the file LICENSE_JSSB.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://opensource.org/licenses/mit-license.php | ||
* | ||
* @category Rkt | ||
* @package Rkt_JsCssforSb | ||
* @copyright Copyright (c) 2015 | ||
* @license http://opensource.org/licenses/mit-license.php MIT License | ||
*/ | ||
|
||
/** | ||
* CMS Page Helper | ||
* | ||
* @category Rkt | ||
* @package Rkt_JsCssforSb | ||
* @author Programmer-RKT | ||
*/ | ||
class Rkt_JsCssforSb_Helper_Page extends Mage_Core_Helper_Abstract | ||
{ | ||
|
||
/** | ||
* Retrieve Template processor for Page Content | ||
* | ||
* @return Varien_Filter_Template | ||
*/ | ||
public function getPageTemplateProcessor() | ||
{ | ||
return Mage::getModel('rkt_jscssforsb/template_filter'); | ||
} | ||
|
||
/** | ||
* Use to find static blocks which is included in the cms page | ||
* content section | ||
* | ||
* @return array | ||
*/ | ||
public function findStaticBlocks($cmsContent) | ||
{ | ||
$processor = $this->getPageTemplateProcessor(); | ||
$blocks = $processor->filter($cmsContent); | ||
return $blocks; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.