SaleController
class SaleController extends AbstractCrudController
Class SaleController
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
No description
Load a object for modification, and display the edit template.
Save changes on a modified object, and either go back to the object list, or stay on the edition page.
Update object position (only for objects whichsupport that)
Online status toggle (only for object which support it)
Toggle activity status of the sale.
No description
No description
No description
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 39
__construct()
in
AbstractCrudController at line 290
Response
defaultAction()
The default action is displaying the list.
in
AbstractCrudController at line 305
Response
createAction()
Create a new object
in
AbstractCrudController at line 392
Response
updateAction()
Load a object for modification, and display the edit template.
in
AbstractCrudController at line 417
Response
processUpdateAction()
Save changes on a modified object, and either go back to the object list, or stay on the edition page.
in
AbstractCrudController at line 506
updatePositionAction()
Update object position (only for objects whichsupport that)
in
AbstractCrudController at line 581
setToggleVisibilityAction()
Online status toggle (only for object which support it)
in
AbstractCrudController at line 605
Response
deleteAction()
Delete an object
at line 307
Response
toggleActivity()
Toggle activity status of the sale.