* @license MIT
*
*/
class HtmlCacheHelper extends Helper {
function afterLayout() {
$view =& ClassRegistry::getObject('view');
$path = WWW_ROOT . implode(DS, array_filter(explode('/', $this->here)));
$file = new File($path, true);
$file->write($view->output);
}
}
?>