Rev 1130 | Rev 1132 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1130 | Rev 1131 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | 21 | ||
22 | // phpcs:disable PSR1.Files.SideEffects |
22 | // phpcs:disable PSR1.Files.SideEffects |
23 | \defined('INSIDE_OIDPLUS') or die; |
23 | \defined('INSIDE_OIDPLUS') or die; |
24 | // phpcs:enable PSR1.Files.SideEffects |
24 | // phpcs:enable PSR1.Files.SideEffects |
25 | 25 | ||
26 | class OIDplusPageAdminSoftwareUpdate extends OIDplusPagePluginAdmin { |
26 | class OIDplusPageAdminSoftwareUpdate extends OIDplusPagePluginAdmin |
- | 27 | implements INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_8 /* getNotifications */ |
|
- | 28 | { |
|
27 | 29 | ||
28 | /** |
30 | /** |
29 | * @param bool $html |
31 | * @param bool $html |
30 | * @return void |
32 | * @return void |
31 | */ |
33 | */ |
Line 429... | Line 431... | ||
429 | 431 | ||
430 | return $out; |
432 | return $out; |
431 | } |
433 | } |
432 | 434 | ||
433 | /** |
435 | /** |
434 | * @param string $id |
- | |
435 | * @return bool |
- | |
436 | */ |
- | |
437 | public function implementsFeature(string $id): bool { |
- | |
438 | if (strtolower($id) == '1.3.6.1.4.1.37476.2.5.2.3.8') return true; // getNotifications() |
- | |
439 | return false; |
- | |
440 | } |
- | |
441 | - | ||
442 | /** |
- | |
443 | * Implements interface 1.3.6.1.4.1.37476.2.5.2.3.8 |
436 | * Implements interface INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_8 |
444 | * @param string|null $user |
437 | * @param string|null $user |
445 | * @return array |
438 | * @return array |
446 | * @throws OIDplusException |
439 | * @throws OIDplusException |
447 | */ |
440 | */ |
448 | public function getNotifications(string $user=null): array { |
441 | public function getNotifications(string $user=null): array { |