aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/iohandler/iohandler_interface.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-05-31 17:19:42 +0200
committerMate Bartus <mate.bartus@gmail.com>2015-07-08 01:28:08 +0200
commit06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3 (patch)
tree23923bb100b08fe4a0e30c5a98cccad8f6148f42 /phpBB/phpbb/install/helper/iohandler/iohandler_interface.php
parent524b98e7bd19bff7b12c7ba4c771d6d60d4300a6 (diff)
downloadforums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar
forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar.gz
forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar.bz2
forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar.xz
forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.zip
[ticket/13740] CLI installer and fixes
[ci skip] PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/helper/iohandler/iohandler_interface.php')
-rw-r--r--phpBB/phpbb/install/helper/iohandler/iohandler_interface.php27
1 files changed, 24 insertions, 3 deletions
diff --git a/phpBB/phpbb/install/helper/iohandler/iohandler_interface.php b/phpBB/phpbb/install/helper/iohandler/iohandler_interface.php
index c40fea24ce..44b409bb0a 100644
--- a/phpBB/phpbb/install/helper/iohandler/iohandler_interface.php
+++ b/phpBB/phpbb/install/helper/iohandler/iohandler_interface.php
@@ -85,7 +85,7 @@ interface iohandler_interface
*
* @param string|array $warning_title Title of the warning message
* @param string|bool|array $warning_description Description of the warning (and possibly guidelines to resolve it),
- * or false if the error description is not available
+ * or false if the warning description is not available
*/
public function add_warning_message($warning_title, $warning_description = false);
@@ -96,12 +96,26 @@ interface iohandler_interface
* resolved as printf($param[0], $param[1], ...).
*
* @param string|array $log_title Title of the log message
- * @param string|bool|array $log_description Description of the log (and possibly guidelines to resolve it),
- * or false if the error description is not available
+ * @param string|bool|array $log_description Description of the log,
+ * or false if the log description is not available
*/
public function add_log_message($log_title, $log_description = false);
/**
+ * Adds a success message to the rendering queue
+ *
+ * Note: When an array is passed into the parameters below, it will be
+ * resolved as printf($param[0], $param[1], ...).
+ *
+ * @param string|array $success_title Title of the success message
+ * @param string|bool|array $success_description Description of the success,
+ * or false if the success description is not available
+ *
+ * @return null
+ */
+ public function add_success_message($success_title, $success_description = false);
+
+ /**
* Adds a requested data group to the rendering queue
*
* @param string $title Language variable with the title of the form
@@ -142,4 +156,11 @@ interface iohandler_interface
* @param array $menu_path Array to the navigation elem
*/
public function set_finished_stage_menu($menu_path);
+
+ /**
+ * Finish the progress bar
+ *
+ * @param string $message_lang_key Language key for the message
+ */
+ public function finish_progress($message_lang_key);
}