uses |
Hm_Output_Module_Exec, Hm_Handler_Module_Exec |
|---|
Class to setup, load, and execute module sets
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(object $config)
Parameters
|
# | ||||||
public
|
process_module_setup(): void
Build a list of module properties
Build a list of module properties |
# | ||||||
public
|
get_current_language()
Look for translation strings based on the current language setting
return array
Look for translation strings based on the current language setting return array |
# | ||||||
public
|
default_language(): void
Setup a default language translation
Setup a default language translation |
# | ||||||
public
|
setup_production_modules(): void
Get module data when in production mode
Get module data when in production mode |
# | ||||||
public
|
setup_debug_modules(): void
Get module data when in debug mode
Get module data when in debug mode |
# | ||||||
public
static
|
merge_filters(array $existing, array $new): array
Merge input filters from module sets
Merge input filters from module sets Parameters
Returnsmerged list |
# | ||||||
public
|
get_active_mods(array $mod_list): array
Return the subset of active modules from a supplied list
Return the subset of active modules from a supplied list Parameters
Returnsfilter list |
# | ||||||
public
|
load_modules(string $class, array $module_sets, string $page): void
Load modules into a module manager
Load modules into a module manager Parameters
|
# | ||||||
public
|
load_module_sets(string $page): void
Load all module sets and include required modules.php files
Load all module sets and include required modules.php files Parameters
|
# | ||||||
public
|
load_module_set_files(array $mods, array $active_mods): void
Load module set definition files
Load module set definition files Parameters
|
# | ||||||
| Methods used from Hm_Output_Module_Exec |
|---|
run_output_modules(), run_output_module() |
| Methods used from Hm_Handler_Module_Exec |
|---|
run_handler_modules(), run_handler_module(), merge_response() |
| Properties | |||
|---|---|---|---|
public
|
|
$user_config
|
# |
public
|
|
$filters = []
|
# |
public
|
|
$handlers = []
|
# |
public
|
|
$outputs = []
|
# |
| Properties used from Hm_Output_Module_Exec |
|---|
$output_response, $output_data |
| Properties used from Hm_Handler_Module_Exec |
|---|
$request, $site_config, $handler_response, $page, $session, $cache |