1 | <?php |
||
16 | class DataSet implements SingletonInterface |
||
17 | { |
||
18 | /** |
||
19 | * The different implementations and the order of the execution. |
||
20 | * |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $implementations = [ |
||
24 | 'EnableFields', |
||
25 | 'Language', |
||
26 | 'Workspaces', |
||
27 | ]; |
||
28 | |||
29 | /** |
||
30 | * Get all implementations and exclude the given list. |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | public function getAllAndExcludeList(array $list) |
||
45 | |||
46 | /** |
||
47 | * Get none implementations and include the given list. |
||
48 | * |
||
49 | * @return array |
||
50 | */ |
||
51 | public function getNoneAndIncludeList(array $list) |
||
55 | |||
56 | /** |
||
57 | * Get the TCA information of the given data sets. |
||
58 | * |
||
59 | * @param $implementations |
||
60 | * @param $table |
||
61 | * |
||
62 | * @return array |
||
63 | */ |
||
64 | public function getTcaInformation(array $implementations, $table) |
||
76 | |||
77 | /** |
||
78 | * Get the SQL information of the given data sets. |
||
79 | * |
||
80 | * @param $table |
||
81 | * |
||
82 | * @return array |
||
83 | */ |
||
84 | public function getDatabaseSqlInformation(array $implementations, $table) |
||
95 | |||
96 | /** |
||
97 | * Get the SQL Key information of the given data sets. |
||
98 | * |
||
99 | * @param $implementations |
||
100 | * @param $table |
||
101 | * |
||
102 | * @return array |
||
103 | */ |
||
104 | public function getDatabaseSqlKeyInformation(array $implementations, $table) |
||
115 | |||
116 | /** |
||
117 | * Create the data set objects. |
||
118 | * |
||
119 | * @return array |
||
120 | */ |
||
121 | protected function getDataSetObjects(array $implementations) |
||
129 | } |
||
130 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.