Property | Type | Description | |
---|---|---|---|
$current_task_name | string | ||
$current_task_progress | integer | ||
$errors | array | Errors should be added, when the installation cannot continue without user interaction. If the aim is to notify the user about something, please use a warning instead. | |
$language | phpbb\language\language | ||
$logs | array | Array of logs | |
$restart_progress_bar | boolean | ||
$success | array | Array of success messages | |
$task_progress_count | integer | ||
$warnings | array | Array of warnings |
Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
add_error_message ( $error_title, $error_description = false ) | ||
add_log_message ( $log_title, $log_description = false ) | ||
add_success_message ( $success_title, $success_description = false ) | ||
add_warning_message ( $warning_title, $warning_description = false ) | ||
finish_progress ( $message_lang_key ) | ||
generate_form_render_data ( $title, $form ) | ||
set_language ( phpbb\language\language $language ) | Set language service | |
set_progress ( $task_lang_key, $task_number ) | ||
set_task_count ( $task_count, $restart = false ) |
Method | Description | |
---|---|---|
translate_message ( array | string $title, array | string | boolean $description ) : array | Localize message. |
public add_error_message ( $error_title, $error_description = false ) |
public add_success_message ( $success_title, $success_description = false ) |
public add_warning_message ( $warning_title, $warning_description = false ) |
public set_language ( phpbb\language\language $language ) | ||
$language | phpbb\language\language |
protected array $errors | ||
return | array |
protected language,phpbb\language $language | ||
return | phpbb\language\language |