'."\r\n", ''; exit(); } public static function json($data) { self::_header('application/json'); echo helper_json::encode($data); exit(); } public static function html($s) { self::_header('text/html'); echo $s; exit(); } } ?>