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.
Methods
__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 |
||
Response |
intro(bool|int $start_new)
Render the intro page |
|
Response|StreamedResponse |
settings(string $converter)
Obtain convertor settings |
|
convert($converter)
Run conversion |
||
finish()
Render the final page of the convertor |
||
proccess_settings_form(string $convertor)
Validates settings form |
||
render_settings_form(array $error = array())
Renders settings form |
||
render_error(string $msg, string|bool $desc = false)
Renders an error form |
||
redirect_to_html(string $url)
Redirects an AJAX request to a non-JS version |
Details
at line 145
public
__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
public Response
intro(bool|int $start_new)
Render the intro page
at line 260
public Response|StreamedResponse
settings(string $converter)
Obtain convertor settings
at line 352
public
convert($converter)
Run conversion
at line 378
public
finish()
Render the final page of the convertor
at line 432
public
proccess_settings_form(string $convertor)
Validates settings form
at line 607
public
render_settings_form(array $error = array())
Renders settings form
at line 776
public
render_error(string $msg, string|bool $desc = false)
Renders an error form
at line 802
public
redirect_to_html(string $url)
Redirects an AJAX request to a non-JS version