Implement getQuizzes from PHP side