public static function search($searchStr) { $result = Database::query(SQL::searchBadges($searchStr)); return Badge::badgesForResult($result); }