convertor
class convertor
Controller for forum convertors
WARNING: This file did not meant to be present in a production environment, so moving this file to a location which is accessible after board installation might lead to security issues.
Properties
protected driver_interface | $cache | ||
protected driver_interface | $installer_cache | ||
protected db | $config | ||
protected config_php_file | $config_php_file | ||
protected string | $config_table | ||
protected helper | $controller_helper | ||
protected database | $db_helper | ||
protected driver_interface | $db | ||
protected install_helper | $install_helper | ||
protected iohandler_interface | $iohandler | ||
protected language | $language | ||
protected navigation_provider | $navigation_provider | ||
protected request_interface | $request | ||
protected string | $session_keys_table | ||
protected string | $session_table | ||
protected template | $template | ||
protected string | $phpbb_root_path | ||
protected string | $php_ext |
Methods
Constructor
Render the intro page
Obtain convertor settings
Run conversion
Render the final page of the convertor
Validates settings form
Renders settings form
Render the list of available convertors
Renders an error form
Redirects an AJAX request to a non-JS version
Details
at line 145
__construct(driver_interface $cache, container_factory $container, database $db_helper, helper $controller_helper, install_helper $install_helper, factory $iohandler, language $language, navigation_provider $nav, request_interface $request, template $template, string $phpbb_root_path, string $php_ext)
Constructor
at line 185
Response
intro(bool|int $start_new)
Render the intro page
at line 260
Response|StreamedResponse
settings(string $converter)
Obtain convertor settings
at line 352
convert($converter)
Run conversion
at line 378
finish()
Render the final page of the convertor
at line 432
proccess_settings_form(string $convertor)
Validates settings form
at line 607
render_settings_form(array $error = array())
Renders settings form
at line 706
protected Response
render_convert_list()
Render the list of available convertors
at line 776
render_error(string $msg, string|bool $desc = false)
Renders an error form
at line 802
redirect_to_html(string $url)
Redirects an AJAX request to a non-JS version