1 | <?php |
||
8 | class ActionEvent { |
||
9 | |||
10 | /** |
||
11 | */ |
||
12 | const POST_CREATE = 'core.action.post_create'; |
||
13 | |||
14 | /** |
||
15 | */ |
||
16 | const POST_DELETE = 'core.action.post_delete'; |
||
17 | |||
18 | /** |
||
19 | */ |
||
20 | const POST_GROUP_ADD = 'core.action.post_group_add'; |
||
21 | |||
22 | /** |
||
23 | */ |
||
24 | const POST_GROUP_REMOVE = 'core.action.post_group_add'; |
||
25 | |||
26 | /** |
||
27 | */ |
||
28 | const POST_GROUP_UPDATE = 'core.action.post_group_update'; |
||
29 | |||
30 | /** |
||
31 | */ |
||
32 | const POST_MODULE_UPDATE = 'core.action.post_module_update'; |
||
33 | |||
34 | /** |
||
35 | */ |
||
36 | const POST_SAVE = 'core.action.post_save'; |
||
37 | |||
38 | /** |
||
39 | */ |
||
40 | const POST_UPDATE = 'core.action.post_update'; |
||
41 | |||
42 | /** |
||
43 | */ |
||
44 | const PRE_CREATE = 'core.action.pre_create'; |
||
45 | |||
46 | /** |
||
47 | */ |
||
48 | const PRE_DELETE = 'core.action.pre_delete'; |
||
49 | |||
50 | /** |
||
51 | */ |
||
52 | const PRE_GROUP_ADD = 'core.action.pre_group_add'; |
||
53 | |||
54 | /** |
||
55 | */ |
||
56 | const PRE_GROUP_REMOVE = 'core.action.pre_group_add'; |
||
57 | |||
58 | /** |
||
59 | */ |
||
60 | const PRE_GROUP_UPDATE = 'core.action.pre_group_update'; |
||
61 | |||
62 | /** |
||
63 | */ |
||
64 | const PRE_MODULE_UPDATE = 'core.action.pre_module_update'; |
||
65 | |||
66 | /** |
||
67 | */ |
||
68 | const PRE_SAVE = 'core.action.pre_save'; |
||
69 | |||
70 | /** |
||
71 | */ |
||
72 | const PRE_UPDATE = 'core.action.pre_update'; |
||
73 | |||
74 | /** |
||
75 | * @var keeko.core.model |
||
76 | */ |
||
77 | protected $action; |
||
78 | |||
79 | /** |
||
80 | * @param Action $action |
||
81 | */ |
||
82 | public function __construct(Action $action) { |
||
85 | |||
86 | /** |
||
87 | * @return Action |
||
88 | */ |
||
89 | public function getAction() { |
||
92 | } |
||
93 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.