1 | <?php |
||
25 | class ContactInfoController extends BaseController |
||
26 | { |
||
27 | const CONTROLLER_ENTITY_NAME = "dealer-contact-info"; |
||
28 | const CONTROLLER_CHECK_RESOURCE = Dealer::RESOURCES_CONTACT; |
||
29 | /** |
||
30 | * Use to get render of list |
||
31 | * @return mixed |
||
32 | */ |
||
33 | protected function getListRenderTemplate() |
||
40 | |||
41 | /** |
||
42 | * Must return a RedirectResponse instance |
||
43 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
||
44 | */ |
||
45 | protected function redirectToListTemplate() |
||
52 | |||
53 | /** |
||
54 | * Use to get Edit render |
||
55 | * @return mixed |
||
56 | */ |
||
57 | protected function getEditRenderTemplate() |
||
61 | |||
62 | /** |
||
63 | * Use to get Create render |
||
64 | * @return mixed |
||
65 | */ |
||
66 | protected function getCreateRenderTemplate() |
||
70 | |||
71 | /** |
||
72 | * @return mixed |
||
73 | */ |
||
74 | protected function getObjectId($object) |
||
78 | |||
79 | /** |
||
80 | * Load an existing object from the database |
||
81 | */ |
||
82 | protected function getExistingObject() |
||
86 | |||
87 | /** |
||
88 | * Hydrate the update form for this object, before passing it to the update template |
||
89 | * |
||
90 | * @param mixed $object |
||
91 | */ |
||
92 | protected function hydrateObjectForm($object) |
||
96 | |||
97 | /** |
||
98 | * Method to get current controller associated service |
||
99 | * @return object |
||
100 | */ |
||
101 | protected function getService() |
||
109 | } |
||
110 |