class LangController extends BaseAdminController

Class LangController

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

defaultAction()

No description

renderDefault( array $param = array(), $status = 200)

No description

updateAction($lang_id)

No description

processUpdateAction($lang_id)

No description

toggleDefaultAction($lang_id)

No description

toggleActiveAction($lang_id)

No description

toggleVisibleAction($lang_id)

No description

addAction()

No description

deleteAction()

No description

defaultBehaviorAction()

No description

domainAction()

No description

activateDomainAction()

No description

deactivateDomainAction()

No description

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 45
defaultAction()

at line 53
renderDefault( array $param = array(), $status = 200)

Parameters

array $param
$status

at line 68
updateAction($lang_id)

Parameters

$lang_id

at line 98
processUpdateAction($lang_id)

Parameters

$lang_id

at line 169
toggleDefaultAction($lang_id)

Parameters

$lang_id

at line 177
toggleActiveAction($lang_id)

Parameters

$lang_id

at line 185
toggleVisibleAction($lang_id)

Parameters

$lang_id

at line 193
addAction()

at line 256
deleteAction()

at line 288
defaultBehaviorAction()

at line 330
domainAction()

at line 377
activateDomainAction()

at line 382
deactivateDomainAction()