public static function getFonts()
 {
     header('Content-Type: application/json');
     if (isset($_GET['query'])) {
         echo json_encode(Zo2HelperGoogleFonts::search($_GET['query']));
     }
 }
 public static function loadGoogleFontsJson()
 {
     if (self::$_fonts) {
         return self::$_fonts;
     }
     $fileName = 'googlefonts.json';
     $filePath = ZO2PATH_ROOT . DIRECTORY_SEPARATOR . $fileName;
     if (file_exists($filePath)) {
         $content = file_get_contents($filePath);
         self::$_fonts = json_decode($content, true);
         return self::$_fonts;
     } else {
         return null;
     }
 }