public function finish()
{
/* Sample use
---------------------------------------------------------
{exp:stash:finish nocache="no" compress="yes"}
*/
// disable nocache for all template data parsed after this point?
self::$_nocache = (bool) preg_match('/1|on|yes|y/i', $this->EE->TMPL->fetch_param('nocache', 'y'));
$this->process = 'end';
$this->priority = '999998';
// should be the *second to last* thing post-processed (by Stash)
if ($out = $this->_post_parse('final_output')) {
return $out;
}
}