1 | <?php |
||
19 | class GroupController extends Controller |
||
20 | { |
||
21 | /** |
||
22 | * Create group form |
||
23 | * |
||
24 | * @Route("/create", name="orocrm_contact_group_create") |
||
25 | * @Template("OroCRMContactBundle:Group:update.html.twig") |
||
26 | * @Acl( |
||
27 | * id="orocrm_contact_group_create", |
||
28 | * type="entity", |
||
29 | * permission="CREATE", |
||
30 | * class="OroCRMContactBundle:Group" |
||
31 | * ) |
||
32 | */ |
||
33 | public function createAction() |
||
37 | |||
38 | /** |
||
39 | * Update group form |
||
40 | * |
||
41 | * @Route("/update/{id}", name="orocrm_contact_group_update", requirements={"id"="\d+"}, defaults={"id"=0}) |
||
42 | * @Template |
||
43 | * @Acl( |
||
44 | * id="orocrm_contact_group_update", |
||
45 | * type="entity", |
||
46 | * permission="EDIT", |
||
47 | * class="OroCRMContactBundle:Group" |
||
48 | * ) |
||
49 | */ |
||
50 | public function updateAction(Group $entity) |
||
54 | |||
55 | /** |
||
56 | * @Route( |
||
57 | * "/{_format}", |
||
58 | * name="orocrm_contact_group_index", |
||
59 | * requirements={"_format"="html|json"}, |
||
60 | * defaults={"_format" = "html"} |
||
61 | * ) |
||
62 | * @Acl( |
||
63 | * id="orocrm_contact_group_view", |
||
64 | * type="entity", |
||
65 | * permission="VIEW", |
||
66 | * class="OroCRMContactBundle:Group" |
||
67 | * ) |
||
68 | * @Template() |
||
69 | */ |
||
70 | public function indexAction() |
||
76 | |||
77 | /** |
||
78 | * @param Group $entity |
||
79 | * |
||
80 | * @return array |
||
81 | */ |
||
82 | protected function update(Group $entity) |
||
101 | } |
||
102 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.