CouponEventContainer
class CouponEventContainer
Class CouponEventContainer is injected as alligator.coupon.event.container. This container is connecting CouponManager manager to other services
Properties
| protected ContainerInterface | $container |
Methods
CouponEventContainer constructor.
Find all promotions with pagination
Find promotions by search term
Count all promotion with search term
Find promotion by id
Find all users for provided array of ids
Remove promotions provided by array of ids
Find all users email
Find all promotions for specific user with pagination
Count all promotions for specific user
No description
Details
at line 32
__construct(ContainerInterface $container)
CouponEventContainer constructor.
at line 45
mixed
findAllForJQGrid(int $page, int $offset, array $sortParams)
Find all promotions with pagination
at line 57
array
searchForJQGrid(array $searchParams, array $sortParams)
Find promotions by search term
at line 69
array
getCountForJQGRID(null $searchParams = null, array $sortParams = array())
Count all promotion with search term
at line 84
array
getPromotionById(int $id)
Find promotion by id
at line 95
array
getAllUsersInArray(array $arrayOfUsers)
Find all users for provided array of ids
at line 115
User
getUser()
Find logger user
at line 128
bool
removePromotionsFromArray(array $arrayOfPromotions)
Remove promotions provided by array of ids
at line 142
array
getUsers(mixed $param, mixed $page, int $offset, mixed $arrayOfUsers = null)
Find all users email
at line 156
array
findAllPromotionsForFrontend(int $page, int $offset, bool $active, int $userId)
Find all promotions for specific user with pagination
at line 168
array
countAllPromotionsForFrontend(bool $active, int $userId)
Count all promotions for specific user