public static function mustacheRender($template, $values) { TemplateEngine::getMustacheInstance(); $m = new Mustache_Engine(); // $response = $m->render($template, $values); // $response = preg_replace('/[\s\t\n\r\s]+/', ' ', $response); return $response; }