Lines Matching refs:module
67 foreach ($modules as $module) {
68 $enabled = Validator::parsedBody($request)->boolean('status-' . $module->name(), false);
70 if ($enabled !== $module->isEnabled()) {
72 ->where('module_name', '=', $module->name())
76 … $message = I18N::translate('The module “%s” has been enabled.', $module->title());
78 … $message = I18N::translate('The module “%s” has been disabled.', $module->title());
101 foreach ($modules as $module) {
103 $key = 'access-' . $module->name() . '-' . $tree->id();
106 if ($access_level !== $module->accessLevel($tree, $interface)) {
108 'module_name' => $module->name(),
136 foreach ($modules as $module) {
138 ->where('module_name', '=', $module->name())
140 $column => $order[$module->name()] ?? 0,