class install_module extends abstract_requirements_module
Methods
__construct(ordered_service_collection $tasks, bool $essential = true, bool $allow_progress_bar = true)
Installer module constructor |
from module_base | |
setup(config $config, iohandler_interface $iohandler)
Dependency getter |
from module_base | |
is_essential()
Checks if the execution of the module is essential to install phpBB or it can be skipped |
from module_base | |
bool |
check_requirements()
Checks requirements for the tasks |
from module_base |
run()
Executes the task |
from abstract_requirements_module | |
int |
get_step_count()
Returns the number of tasks in the module |
from abstract_requirements_module |
array |
get_navigation_stage_path()
Returns an array to the correct navigation stage |
Details
in module_base at line 65
public
__construct(ordered_service_collection $tasks, bool $essential = true, bool $allow_progress_bar = true)
Installer module constructor
in module_base at line 78
public
setup(config $config, iohandler_interface $iohandler)
Dependency getter
in module_base at line 87
public
is_essential()
Checks if the execution of the module is essential to install phpBB or it can be skipped
Note: Please note that all the non-essential modules have to implement check_requirements() method.
in module_base at line 97
public bool
check_requirements()
Checks requirements for the tasks
Note: Only need to be implemented for non-essential tasks, as essential tasks requirements should be checked in the requirements install module.
in abstract_requirements_module at line 24
public
run()
Executes the task
in abstract_requirements_module at line 67
public int
get_step_count()
Returns the number of tasks in the module
at line 21
public array
get_navigation_stage_path()
Returns an array to the correct navigation stage