CouponController
class CouponController extends BaseAdminController
Control View and Action (Model) via Events
Traits
Constants
EMPTY_FORM_NAME |
|
CONTROLLER_TYPE |
|
TEMPLATE_404 |
|
Methods
return an instance of \Swift_Mailer with good Transporter configured.
No description
Helper to append a message to the admin log.
This method process the rendering of view called from an admin page
Manage Coupons list display
Manage Coupons creation display
Manage Coupons edition display
Manage Coupons read display
Manage Coupons read display
Manage Coupons read display
Manage Coupons condition deleteion
Draw the input displayed in the BackOffice allowing Admin to set its Coupon effect
Draw the input displayed in the BackOffice allowing Admin to set its Coupon effect
No description
Details
in
BaseController at line 128
EventDispatcher
getDispatcher()
Return the event dispatcher,
in
BaseController at line 138
Translator
getTranslator()
return the Translator
in
BaseController at line 545
MailerFactory
getMailer()
return an instance of \Swift_Mailer with good Transporter configured.
in
BaseController at line 569
BaseForm
createForm($name, $type = 'form',
array $data = array(),
array $options = array())
in
BaseController at line 589
ContainerInterface
getContainer()
in
BaseAdminController at line 90
string
getControllerType()
in
BaseAdminController at line 52
adminLogAppend($resource, $action, $message, $resourceId = null)
Helper to append a message to the admin log.
in
BaseAdminController at line 71
Response
processTemplateAction(
string $template)
This method process the rendering of view called from an admin page
at line 55
Response
browseAction()
Manage Coupons list display
at line 71
Response
createAction()
Manage Coupons creation display
at line 122
Response
updateAction(
int $couponId)
Manage Coupons edition display
at line 272
Response
getConditionEmptyInputAjaxAction(
string $conditionId)
Manage Coupons read display
at line 321
Response
getConditionToUpdateInputAjaxAction(
int $couponId,
int $conditionIndex)
Manage Coupons read display
at line 376
Response
saveConditionsAction(
int $couponId)
Manage Coupons read display
at line 425
Response
deleteConditionsAction(
int $couponId,
int $conditionIndex)
Manage Coupons condition deleteion
at line 634
ResponseRest
getBackOfficeInputsAjaxAction(
string $couponServiceId)
Draw the input displayed in the BackOffice allowing Admin to set its Coupon effect
at line 668
ResponseRest
getBackOfficeConditionSummariesAjaxAction(
int $couponId)
Draw the input displayed in the BackOffice allowing Admin to set its Coupon effect