1 | <?php |
||
18 | class Main |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * Module class instance |
||
23 | * @var \gplcart\core\Module $module |
||
24 | */ |
||
25 | protected $module; |
||
26 | |||
27 | /** |
||
28 | * Library class instance |
||
29 | * @var \gplcart\core\Library $library |
||
30 | */ |
||
31 | protected $library; |
||
32 | |||
33 | /** |
||
34 | * @param Module $module |
||
35 | * @param Library $library |
||
36 | */ |
||
37 | public function __construct(Module $module, Library $library) |
||
42 | |||
43 | /** |
||
44 | * Implements hook "library.list" |
||
45 | * @param array $libraries |
||
46 | */ |
||
47 | public function hookLibraryList(array &$libraries) |
||
62 | |||
63 | /** |
||
64 | * Implements hook "image.style.action.handlers" |
||
65 | * @param array $handlers |
||
66 | */ |
||
67 | public function hookImageStyleActionHandlers(array &$handlers) |
||
71 | |||
72 | /** |
||
73 | * Implements hook "module.enable.after" |
||
74 | */ |
||
75 | public function hookModuleEnableAfter() |
||
79 | |||
80 | /** |
||
81 | * Implements hook "module.disable.after" |
||
82 | */ |
||
83 | public function hookModuleDisableAfter() |
||
87 | |||
88 | /** |
||
89 | * Implements hook "module.install.after" |
||
90 | */ |
||
91 | public function hookModuleInstallAfter() |
||
95 | |||
96 | /** |
||
97 | * Implements hook "module.uninstall.after" |
||
98 | */ |
||
99 | public function hookModuleUninstallAfter() |
||
103 | |||
104 | /** |
||
105 | * Returns an array of image style actions |
||
106 | * @return array |
||
107 | */ |
||
108 | public function getActionHandlers() |
||
112 | |||
113 | } |
||
114 |