1 | <?php |
||
29 | class Setting implements \OCP\Activity\ISetting { |
||
30 | |||
31 | /** @var IL10N */ |
||
32 | protected $l; |
||
33 | |||
34 | /** |
||
35 | * @param IL10N $l |
||
36 | */ |
||
37 | public function __construct(IL10N $l) { |
||
40 | |||
41 | /** |
||
42 | * @return string Lowercase a-z and underscore only identifier |
||
43 | * @since 11.0.0 |
||
44 | */ |
||
45 | public function getIdentifier() { |
||
48 | |||
49 | /** |
||
50 | * @return string A translated string |
||
51 | * @since 11.0.0 |
||
52 | */ |
||
53 | public function getName() { |
||
56 | |||
57 | /** |
||
58 | * @return int whether the filter should be rather on the top or bottom of |
||
59 | * the admin section. The filters are arranged in ascending order of the |
||
60 | * priority values. It is required to return a value between 0 and 100. |
||
61 | * @since 11.0.0 |
||
62 | */ |
||
63 | public function getPriority() { |
||
66 | |||
67 | /** |
||
68 | * @return bool True when the option can be changed for the stream |
||
69 | * @since 11.0.0 |
||
70 | */ |
||
71 | public function canChangeStream() { |
||
74 | |||
75 | /** |
||
76 | * @return bool True when the option can be changed for the stream |
||
77 | * @since 11.0.0 |
||
78 | */ |
||
79 | public function isDefaultEnabledStream() { |
||
82 | |||
83 | /** |
||
84 | * @return bool True when the option can be changed for the mail |
||
85 | * @since 11.0.0 |
||
86 | */ |
||
87 | public function canChangeMail() { |
||
90 | |||
91 | /** |
||
92 | * @return bool True when the option can be changed for the stream |
||
93 | * @since 11.0.0 |
||
94 | */ |
||
95 | public function isDefaultEnabledMail() { |
||
98 | } |
||
99 |