WIP on Json doc updates

This commit is contained in:
danieljsummers committed 2025-04-24 19:39:53 -04:00
1 parent 472fde5a9a
commit 07c46fe668
2 files changed
+33 -12

No files matched your search

+8
View File
@@ -241,4 +241,12 @@ class Json
{
echo self::firstByJsonPath($tableName, $path, $orderBy);
}
/**
* Set the content type of this page's output to JSON
*/
public static function setContentType(): void
{
header('Content-Type: application/json');
}
}