notify_user
class notify_user extends task_base
Logs installation and sends an email to the admin
Properties
protected bool | $is_essential | from task_base | |
protected config | $install_config | ||
protected iohandler_interface | $iohandler | ||
protected auth | $auth | ||
protected db | $config | ||
protected language | $language | ||
protected log_interface | $log | ||
protected user | $user | ||
protected string | $phpbb_root_path | ||
protected string | $php_ext |
Methods
Constructor
Checks if the task is essential to install phpBB or it can be skipped
Executes the task
Returns the number of steps the task contains
Returns the language key of the name of the task
Details
at line 77
__construct(container_factory $container, config $install_config, iohandler_interface $iohandler, string $phpbb_root_path, string $php_ext)
Constructor
in
task_base 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.
in
task_base 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.
at line 109
run()
Executes the task
at line 160
static int
get_step_count()
Returns the number of steps the task contains
This is a helper method to provide a better progress bar for the front-end.
at line 168
string
get_task_lang_name()
Returns the language key of the name of the task