1 | <?php |
||
21 | class HooksModule extends AbstractModule implements ModuleConfigInterface, DependentInterface { |
||
22 | // How to update the database schema for this module |
||
23 | const SCHEMA_TARGET_VERSION = 1; |
||
24 | const SCHEMA_SETTING_NAME = 'MAJ_HOOKS_SCHEMA_VERSION'; |
||
25 | const SCHEMA_MIGRATION_PREFIX = '\MyArtJaub\Webtrees\Module\Hooks\Schema'; |
||
26 | |||
27 | /** @var string For custom modules - link for support, upgrades, etc. */ |
||
28 | const CUSTOM_WEBSITE = 'https://github.com/jon48/webtrees-lib'; |
||
29 | |||
30 | /** |
||
31 | * {@inhericDoc} |
||
32 | */ |
||
33 | public function getTitle() { |
||
36 | |||
37 | /** |
||
38 | * {@inhericDoc} |
||
39 | */ |
||
40 | public function getDescription() { |
||
43 | |||
44 | /** |
||
45 | * {@inhericDoc} |
||
46 | */ |
||
47 | public function modAction($mod_action) { |
||
52 | |||
53 | /** |
||
54 | * {@inhericDoc} |
||
55 | * @see \Fisharebest\Webtrees\Module\ModuleConfigInterface::getConfigLink() |
||
56 | */ |
||
57 | public function getConfigLink() { |
||
62 | |||
63 | /** |
||
64 | * {@inheritDoc} |
||
65 | * @see \MyArtJaub\Webtrees\Module\DependentInterface::validatePrerequisites() |
||
66 | */ |
||
67 | public function validatePrerequisites() { |
||
75 | |||
76 | |||
77 | } |
||
78 |