1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[ticket/13740] Tasks can appear as multiple steps for the progress bar

PHPBB3-13740
This commit is contained in:
CHItA
2015-06-04 00:43:08 +02:00
committed by Mate Bartus
parent 63c3500dac
commit 0dc6029bfe
27 changed files with 190 additions and 21 deletions

View File

@@ -15,9 +15,22 @@ namespace phpbb\install;
/**
* Interface for installer tasks
*
* Note: The task service ID must match up with the namespace and class name.
* For example: if your task is located at \phpbb\install\module\module_name\task\task_name
* then the service ID must be installer.module_name.task_name.
*/
interface task_interface
{
/**
* Returns the number of steps the task contains
*
* This is a helper method to provide a better progress bar for the front-end.
*
* @return int The number of steps that the task contains
*/
static public function get_step_count();
/**
* Checks if the task is essential to install phpBB or it can be skipped
*