CouponController
class CouponController extends Controller
Class CouponController defines routes for promotion and coupon
Methods
array
allCouponsAction()
Backend route for listing all promotions
JsonResponse
getAllCouponsJQGridAction(ArrayCollection $couponListJSON)
API route for loading all promotions
array
editCouponAction(ArrayCollection $couponGetJSON)
Backend route for promotion edit
JsonResponse
editJSONCouponAction(ArrayCollection $editCouponJSON)
API route for promotion edit
JsonResponse
removeJSONCouponAction(ArrayCollection $removeCouponsJSON)
API route for promotion remove
array
prefCouponAction(ArrayCollection $usersListCoupon)
Backend route for creating new coupon (promotion)
JsonResponse
couponSearchUsersAction(ArrayCollection $couponSearchUsersJSON)
API route for user search
Details
at line 41
array
allCouponsAction()
Backend route for listing all promotions
at line 56
JsonResponse
getAllCouponsJQGridAction(ArrayCollection $couponListJSON)
API route for loading all promotions
at line 73
array
editCouponAction(ArrayCollection $couponGetJSON)
Backend route for promotion edit
at line 88
JsonResponse
editJSONCouponAction(ArrayCollection $editCouponJSON)
API route for promotion edit
at line 103
JsonResponse
removeJSONCouponAction(ArrayCollection $removeCouponsJSON)
API route for promotion remove
at line 120
array
prefCouponAction(ArrayCollection $usersListCoupon)
Backend route for creating new coupon (promotion)
at line 135
JsonResponse
couponSearchUsersAction(ArrayCollection $couponSearchUsersJSON)
API route for user search