public function view($pathtotpl) { ob_start(); Files::load($pathtotpl); $html = ob_get_contents(); ob_clean(); echo Snippet::parseSnippet($html, MODE); }