PHP Class Sulu\Bundle\ContactBundle\Controller\TemplateController

Inheritance: extends Sulu\Component\Rest\RestController
显示文件 Open project: sulu/sulu

Public Methods

Method Description
accountFormAction ( ) : Response Returns the form for accounts.
accountFormContactListAction ( ) : Response Returns Template for account form contact list.
accountListAction ( ) : Response Returns Template for account list.
basicDocumentsAction ( ) : Response Returns the template for account- and contact-documents.
contactFormAction ( ) : Response Returns the form for contacts.
contactListAction ( ) : Response Returns Template for contact list.

Private Methods

Method Description
getCategoryUrl ( $key )
getContactListData ( ) : array Returns data to render contact list.
getDefaults ( ) : array Returns the default values for the dropdowns.
getRenderArray ( ) : array Returns an array for rendering a form.
getValues ( ) : array Returns the possible values for the dropdowns.

Method Details

accountFormAction() public method

Returns the form for accounts.
public accountFormAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

accountFormContactListAction() public method

Returns Template for account form contact list.
public accountFormContactListAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

accountListAction() public method

Returns Template for account list.
public accountListAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

basicDocumentsAction() public method

Returns the template for account- and contact-documents.
public basicDocumentsAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

contactFormAction() public method

Returns the form for contacts.
public contactFormAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

contactListAction() public method

Returns Template for contact list.
public contactListAction ( ) : Response
return Symfony\Component\HttpFoundation\Response