public function render($template, $data = array(), array $options = array())
{
$defaults = array('context' => array());
$options += $defaults;
$this->_context = $options['context'] + $this->_context;
$this->_data = (array) $data + $this->_vars;
$this->_options = $options;
$template__ = $template;
unset($options, $template, $defaults, $data);
if ($this->_config['extract']) {
extract($this->_data, EXTR_OVERWRITE);
} elseif ($this->_view) {
extract((array) $this->_view->outputFilters, EXTR_OVERWRITE);
}
ob_start();
include $template__;
return ob_get_clean();
}