Conditions | 1 |
Paths | 1 |
Total Lines | 37 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function addSfEventConfig($params) |
||
23 | { |
||
24 | return array_merge_recursive( |
||
25 | $params['config'], |
||
26 | [ |
||
27 | 'postVarSets' => [ |
||
28 | '_DEFAULT' => [ |
||
29 | 'events' => [ |
||
30 | [ |
||
31 | 'GETvar' => 'tx_sfeventmgt_pievent[controller]', |
||
32 | 'noMatch' => 'bypass', |
||
33 | ], |
||
34 | [ |
||
35 | 'GETvar' => 'tx_sfeventmgt_pievent[action]', |
||
36 | 'valueMap' => [ |
||
37 | 'detail' => 'detail' |
||
38 | ] |
||
39 | ], |
||
40 | [ |
||
41 | 'GETvar' => 'tx_sfeventmgt_pievent[event]', |
||
42 | 'lookUpTable' => [ |
||
43 | 'table' => 'tx_sfeventmgt_domain_model_event', |
||
44 | 'id_field' => 'uid', |
||
45 | 'alias_field' => 'title', |
||
46 | 'useUniqueCache' => 1, |
||
47 | 'useUniqueCache_conf' => [ |
||
48 | 'strtolower' => 1, |
||
49 | 'spaceCharacter' => '-', |
||
50 | ], |
||
51 | ], |
||
52 | ], |
||
53 | ], |
||
54 | ] |
||
55 | ] |
||
56 | ] |
||
57 | ); |
||
58 | } |
||
59 | } |
||
60 |