1 | <?php |
||
27 | class ContactController extends BaseController |
||
28 | { |
||
29 | const CONTROLLER_ENTITY_NAME = "dealer-contact"; |
||
30 | const CONTROLLER_CHECK_RESOURCE = Dealer::RESOURCES_CONTACT; |
||
31 | |||
32 | /** |
||
33 | * Use to get render of list |
||
34 | * @return mixed |
||
35 | */ |
||
36 | protected function getListRenderTemplate() |
||
43 | |||
44 | /** |
||
45 | * Must return a RedirectResponse instance |
||
46 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
||
47 | */ |
||
48 | protected function redirectToListTemplate() |
||
55 | |||
56 | /** |
||
57 | * Use to get Edit render |
||
58 | * @return mixed |
||
59 | */ |
||
60 | protected function getEditRenderTemplate() |
||
64 | |||
65 | /** |
||
66 | * Use to get Create render |
||
67 | * @return mixed |
||
68 | */ |
||
69 | protected function getCreateRenderTemplate() |
||
73 | |||
74 | /** |
||
75 | * @return mixed |
||
76 | */ |
||
77 | protected function getObjectId($object) |
||
81 | |||
82 | /** |
||
83 | * Load an existing object from the database |
||
84 | */ |
||
85 | protected function getExistingObject() |
||
89 | |||
90 | /** |
||
91 | * Hydrate the update form for this object, before passing it to the update template |
||
92 | * |
||
93 | * @param mixed $object |
||
94 | */ |
||
95 | protected function hydrateObjectForm($object) |
||
99 | |||
100 | /** |
||
101 | * Method to get current controller associated service |
||
102 | * @return object |
||
103 | */ |
||
104 | protected function getService() |
||
112 | |||
113 | public function toggleDefaultAction() |
||
140 | } |
||
141 |