class ExportController extends BaseAdminController

Class ExportController

Traits

Symfony\Component\DependencyInjection\ContainerAwareTrait

Constants

EMPTY_FORM_NAME

CONTROLLER_TYPE

TEMPLATE_404

Methods

EventDispatcher
getDispatcher()

Return the event dispatcher,

getTranslator()

return the Translator

getMailer()

return an instance of \Swift_Mailer with good Transporter configured.

createForm($name, $type = 'form', array $data = array(), array $options = array())

No description

ContainerInterface
getContainer()

No description

string
getControllerType()

No description

adminLogAppend($resource, $action, $message, $resourceId = null)

Helper to append a message to the admin log.

processTemplateAction( string $template)

This method process the rendering of view called from an admin page

indexAction( string $_view = 'export')

Handle default action, that is, list available exports

Response|RedirectResponse
changeExportPositionAction()

Handle export position change action

Response|RedirectResponse
changeCategoryPositionAction()

Handle export category position change action

configureAction( integer $id)

Display export configuration view

Response|BinaryFileResponse
exportAction( integer $id)

Handle export action

Details

in BaseController at line 128
EventDispatcher getDispatcher()

Return the event dispatcher,

Return Value

EventDispatcher

in BaseController at line 138
Translator getTranslator()

return the Translator

Return Value

Translator

in BaseController at line 545
MailerFactory getMailer()

return an instance of \Swift_Mailer with good Transporter configured.

Return Value

MailerFactory

in BaseController at line 569
BaseForm createForm($name, $type = 'form', array $data = array(), array $options = array())

Parameters

$name
$type
array $data
array $options

Return Value

BaseForm This method builds a thelia form with its name

in BaseController at line 589
ContainerInterface getContainer()

Return Value

ContainerInterface

in BaseAdminController at line 90
string getControllerType()

Return Value

string

in BaseAdminController at line 52
adminLogAppend($resource, $action, $message, $resourceId = null)

Helper to append a message to the admin log.

Parameters

$resource
$action
$message
$resourceId

in BaseAdminController at line 71
Response processTemplateAction( string $template)

This method process the rendering of view called from an admin page

Parameters

string $template the template name

Return Value

Response the response which contains the rendered view

at line 40
Response indexAction( string $_view = 'export')

Handle default action, that is, list available exports

Parameters

string $_view View to render

Return Value

Response

at line 60
Response|RedirectResponse changeExportPositionAction()

Handle export position change action

Return Value

Response|RedirectResponse

at line 86
Response|RedirectResponse changeCategoryPositionAction()

Handle export category position change action

Return Value

Response|RedirectResponse

at line 134
Response configureAction( integer $id)

Display export configuration view

Parameters

integer $id An export identifier

Return Value

Response

at line 168
Response|BinaryFileResponse exportAction( integer $id)

Handle export action

Parameters

integer $id An export identifier

Return Value

Response|BinaryFileResponse