$this->tempData =
$this->data;
} $template =
file_get_contents($file);
$output =
$this->
parse($template,
$this->tempData,
$options);
$this->
logPerformance($start,
microtime(true
),
$view);
if ($saveData) { $this->data =
$this->tempData;
} $output =
$this->
decorateOutput($output);
// Should we cache?
if (isset($options['cache'
])) { cache()->
save($cacheName,
$output,
(int) $options['cache'
]);
} $this->tempData = null;
return $output;
} /**
* Parse a String
*
* Parses pseudo-variables contained in the specified string,
* replacing them with any data that has already been set.
*/