Total Complexity | 3 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class JobHolderCollectionExtensionTest_Object extends DataObject implements TestOnly |
||
16 | { |
||
17 | /** |
||
18 | * Needs its own table (table too long otherwise) |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | private static $table_name = 'JobHolderCollectionExtension'; |
||
|
|||
23 | |||
24 | /** |
||
25 | * @var array |
||
26 | */ |
||
27 | private static $extensions = [ |
||
28 | JobCollectionExtension::class, |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * @param $filter |
||
33 | * |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function getCollectionFilters($filter) |
||
37 | { |
||
38 | $this->extend('updateCollectionFilters', $filter); |
||
39 | |||
40 | return $filter; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @param Form $form |
||
45 | * |
||
46 | * @return Form |
||
47 | */ |
||
48 | public function getCollectionForm(Form $form) |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @param ArrayList $collection |
||
57 | * |
||
58 | * @return ArrayList |
||
59 | */ |
||
60 | public function getCollectionItems(ArrayList $collection) |
||
65 | } |
||
66 | } |
||
67 |