phpBB API Documentation
Class

phpbb\install\task_base

abstract class task_base implements task_interface

Base class for installer task

Methods

__construct(bool $essential = true)

Constructor

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
public __construct(bool $essential = true)

Constructor

Parameters

bool $essential

at line 39
public 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
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.

Return Value

bool true if the task's requirements are met