Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class PluginFilesbackendSeafile extends Plugin |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Called to initialize the plugin and register for hooks. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function init() |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Function is executed when a hook is triggered by the PluginManager |
||
23 | * |
||
24 | * @param String $eventID Identifier of the hook |
||
25 | * @param Array $data Reference to the data of the triggered hook |
||
26 | */ |
||
27 | public function execute($eventID, &$data) |
||
34 | } |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Called when the core Settings class is initialized and ready to accept sysadmin default |
||
39 | * settings. Registers the sysadmin defaults for the filesbackendSeafile plugin. |
||
40 | * |
||
41 | * @param Array $data Reference to the data of the triggered hook |
||
42 | * @return void |
||
43 | */ |
||
44 | public function onBeforeSettingsInit(&$data) |
||
59 |