Example #1
0
 public function actionGetBidderHistory($id)
 {
     $userObj = new User();
     $user = $this->hasPermission($id);
     $biddersData = $userObj->getBidders($user->fk_area, self::MAX_HISTORY_DAYS);
     $this->apiResponse['success'] = true;
     $this->apiResponse['data'] = $biddersData;
     $this->sendResponse();
 }