1 | <?php |
||
18 | class Dev extends Module |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * Library class instance |
||
23 | * @var \gplcart\core\Library |
||
24 | */ |
||
25 | protected $library; |
||
26 | |||
27 | /** |
||
28 | * @param Library $library |
||
29 | */ |
||
30 | public function __construct(Library $library) |
||
36 | |||
37 | /** |
||
38 | * Implements hook "construct" |
||
39 | */ |
||
40 | public function hookConstruct() |
||
44 | |||
45 | /** |
||
46 | * Implements hook "construct.controller" |
||
47 | * @param \gplcart\core\Controller $object |
||
48 | */ |
||
49 | public function hookConstructController($object) |
||
59 | |||
60 | /** |
||
61 | * Implements hook "template.output" |
||
62 | * @param string $html |
||
63 | * @param \gplcart\core\Controller $controller |
||
64 | */ |
||
65 | public function hookTemplateOutput(&$html, $controller) |
||
79 | |||
80 | /** |
||
81 | * Implements hook "library.list" |
||
82 | * @param array $libraries |
||
83 | */ |
||
84 | public function hookLibraryList(array &$libraries) |
||
99 | |||
100 | /** |
||
101 | * Implements hook "route.list" |
||
102 | * @param array $routes |
||
103 | */ |
||
104 | public function hookRouteList(array &$routes) |
||
113 | |||
114 | /** |
||
115 | * Implements hook "module.enable.after" |
||
116 | */ |
||
117 | public function hookModuleEnableAfter() |
||
121 | |||
122 | /** |
||
123 | * Implements hook "module.disable.after" |
||
124 | */ |
||
125 | public function hookModuleDisableAfter() |
||
129 | |||
130 | /** |
||
131 | * Implements hook "module.install.after" |
||
132 | */ |
||
133 | public function hookModuleInstallAfter() |
||
137 | |||
138 | /** |
||
139 | * Implements hook "module.uninstall.after" |
||
140 | */ |
||
141 | public function hookModuleUninstallAfter() |
||
145 | |||
146 | } |
||
147 |