Rev 1130 | Rev 1189 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1130 | Rev 1131 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | 24 | ||
25 | // phpcs:disable PSR1.Files.SideEffects |
25 | // phpcs:disable PSR1.Files.SideEffects |
26 | \defined('INSIDE_OIDPLUS') or die; |
26 | \defined('INSIDE_OIDPLUS') or die; |
27 | // phpcs:enable PSR1.Files.SideEffects |
27 | // phpcs:enable PSR1.Files.SideEffects |
28 | 28 | ||
29 | class OIDplusPageAdminNostalgia extends OIDplusPagePluginAdmin { |
29 | class OIDplusPageAdminNostalgia extends OIDplusPagePluginAdmin |
- | 30 | implements INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_8 /* getNotifications */ |
|
- | 31 | { |
|
30 | 32 | ||
31 | /** |
33 | /** |
32 | * @param string $id |
34 | * @param string $id |
33 | * @param array $out |
35 | * @param array $out |
34 | * @param bool $handled |
36 | * @param bool $handled |
Line 102... | Line 104... | ||
102 | public function tree_search(string $request) { |
104 | public function tree_search(string $request) { |
103 | return false; |
105 | return false; |
104 | } |
106 | } |
105 | 107 | ||
106 | /** |
108 | /** |
107 | * @param string $id |
- | |
108 | * @return bool |
- | |
109 | */ |
- | |
110 | public function implementsFeature(string $id): bool { |
- | |
111 | if (strtolower($id) == '1.3.6.1.4.1.37476.2.5.2.3.8') return true; // getNotifications() |
- | |
112 | return false; |
- | |
113 | } |
- | |
114 | - | ||
115 | /** |
- | |
116 | * Implements interface 1.3.6.1.4.1.37476.2.5.2.3.8 |
109 | * Implements interface INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_8 |
117 | * @param string|null $user |
110 | * @param string|null $user |
118 | * @return array |
111 | * @return array |
119 | * @throws OIDplusException |
112 | * @throws OIDplusException |
120 | */ |
113 | */ |
121 | public function getNotifications(string $user=null): array { |
114 | public function getNotifications(string $user=null): array { |