예제 #1
0
 /**
  * @param $username
  * @param $page
  */
 public function ajaxMostTypePrevious($username, $page)
 {
     $arrayRawGamesOwned = BGGData::getGamesOwned();
     $arrayGamesDetails = BGGData::getDetailOwned($arrayRawGamesOwned);
     Stats::getCollectionArrays($arrayRawGamesOwned);
     Stats::getOwnedRelatedArrays($arrayGamesDetails);
     $mostType = Graphs::getMostType($page);
     echo json_encode($mostType);
 }