'; } /** * Loads a css html link * @param string $path - the path to the css file */ public static function embed_css(string $path): string { $file = PUBLIC_ROOT . '/' . $path; if (file_exists($file)) { $text = file_get_contents($file); return ""; } else { return ""; } } /** * Formats a ISO date * @param $iso_date the ISO date */ public static function format_date(string $iso_date): string { return date("Y-m-d D H:m", strtotime($iso_date)); } }