| Total Complexity | 5 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class PluginFilesbackendDefault extends Plugin |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Constructor. |
||
| 12 | */ |
||
| 13 | public function __construct() |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Called to initialize the plugin and register for hooks. |
||
| 19 | */ |
||
| 20 | public function init() |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Function is executed when a hook is triggered by the PluginManager. |
||
| 27 | * |
||
| 28 | * @param string $eventID Identifier of the hook |
||
| 29 | * @param array $data Reference to the data of the triggered hook |
||
| 30 | */ |
||
| 31 | public function execute($eventID, &$data) |
||
| 37 | } |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Called when the core Settings class is initialized and ready to accept sysadmin default |
||
| 42 | * settings. Registers the sysadmin defaults for the files backend plugin. |
||
| 43 | * |
||
| 44 | * @param array $data Reference to the data of the triggered hook |
||
| 45 | */ |
||
| 46 | public function onBeforeSettingsInit(&$data) |
||
| 65 |