public static function getFontCollection() { if (self::$fontCollection == null) { if (!isset($_GET['family'])) { self::$fontCollection = array_chunk(self::getFont(), LIMIT); } else { self::$fontCollection = array(self::getFont()); } } return self::$fontCollection; }