class BaseController

The defaut administration controller. Basically, display the login form if user is not yet logged in, or back-office home page if the user is logged in.

Traits

Symfony\Component\DependencyInjection\ContainerAwareTrait

Constants

EMPTY_FORM_NAME

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

Return controller type

Details

at line 128
EventDispatcher getDispatcher()

Return the event dispatcher,

Return Value

EventDispatcher

at line 138
Translator getTranslator()

return the Translator

Return Value

Translator

at line 545
MailerFactory getMailer()

return an instance of \Swift_Mailer with good Transporter configured.

Return Value

MailerFactory

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

at line 589
ContainerInterface getContainer()

Return Value

ContainerInterface

at line 599
abstract string getControllerType()

Return controller type

Return Value

string