task_base
abstract class task_base implements task_interface
Base class for installer task
Properties
protected bool | $is_essential |
Methods
__construct(bool $essential = true)
Constructor
bool
is_essential()
Checks if the task is essential to install phpBB or it can be skipped
bool
check_requirements()
Checks requirements for the tasks
Details
at line 31
__construct(bool $essential = true)
Constructor
at line 39
bool
is_essential()
Checks if the task 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.
at line 49
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.