1 | <?php |
||
10 | class Filter implements IFilter { |
||
11 | |||
12 | /** @var IL10N */ |
||
13 | protected $l10n; |
||
14 | |||
15 | /** @var IURLGenerator */ |
||
16 | protected $url; |
||
17 | |||
18 | public function __construct(IL10N $l10n, IURLGenerator $url) { |
||
22 | |||
23 | /** |
||
24 | * @return string Lowercase a-z only identifier |
||
25 | * @since 11.0.0 |
||
26 | */ |
||
27 | public function getIdentifier() { |
||
30 | |||
31 | /** |
||
32 | * @return string A translated string |
||
33 | * @since 11.0.0 |
||
34 | */ |
||
35 | public function getName() { |
||
38 | |||
39 | /** |
||
40 | * @return int |
||
41 | * @since 11.0.0 |
||
42 | */ |
||
43 | public function getPriority() { |
||
46 | |||
47 | /** |
||
48 | * @return string Full URL to an icon, empty string when none is given |
||
49 | * @since 11.0.0 |
||
50 | */ |
||
51 | public function getIcon() { |
||
54 | |||
55 | /** |
||
56 | * @param string[] $types |
||
57 | * |
||
58 | * @return string[] An array of allowed apps from which activities should be displayed |
||
59 | * @since 11.0.0 |
||
60 | */ |
||
61 | public function filterTypes(array $types) { |
||
64 | |||
65 | /** |
||
66 | * @return string[] An array of allowed apps from which activities should be displayed |
||
67 | * @since 11.0.0 |
||
68 | */ |
||
69 | public function allowedApps() { |
||
72 | } |
||
73 | |||
74 |