Last active
August 29, 2015 14:07
-
-
Save davefreiman/948edb4ab1baafaa38f4 to your computer and use it in GitHub Desktop.
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
public function processRequest() | |
{ | |
if (empty($this->_requestProcessors)) { | |
return false; | |
} | |
$content = false; | |
foreach ($this->_requestProcessors as $processor) { | |
$processor = $this->_getProcessor($processor); | |
if ($processor) { | |
$content = $processor->extractContent($content); | |
} | |
} | |
if ($content) { | |
Mage::app()->getResponse()->appendBody($content); | |
return true; | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment