public function getAllBadges() { $myWrapper = new Platform_Webservices_Wrapper(); $jsonObj = $myWrapper->request('badges/'); return Platform_Data::getDataObject($jsonObj); }
public function getCommentsForLesson($lessonId) { $myWrapper = new Platform_Webservices_Wrapper(); $jsonObj = $myWrapper->request('comments/lessonid/' . $lessonId); return Platform_Data::getDataObject($jsonObj); }