Created
June 12, 2011 23:29
-
-
Save dragoonis/1022125 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
/** | |
* The main render function that pull in data from all framework components to render this page. | |
* | |
* @param string $template | |
* @param array $options | |
* @return void | |
*/ | |
protected function render($template, array $options = array()) { | |
$core = $this->_request->getRenderVars(); | |
$core = array_merge($core, $this->_response->getRenderVars()); | |
$options['core'] = $core; | |
$this->_view->render($template, $options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment