[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/install/convert/controller/ -> convertor.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 865 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

convertor:: (11 methods):
  __construct()
  intro()
  settings()
  convert()
  finish()
  proccess_settings_form()
  render_settings_form()
  render_convert_list()
  render_error()
  redirect_to_html()
  setup_navigation()


Class: convertor  - X-Ref

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.
__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, $phpbb_root_path, $php_ext)   X-Ref
Constructor

param: driver_interface        $cache
param: container_factory        $container
param: database                $db_helper
param: helper                $controller_helper
param: install_helper        $install_helper
param: factory                $iohandler
param: language                $language
param: navigation_provider    $nav
param: request_interface        $request
param: template                $template
param: string                $phpbb_root_path
param: string                $php_ext

intro($start_new)   X-Ref
Render the intro page

return: \Symfony\Component\HttpFoundation\Response
param: bool|int    $start_new    Whether or not to force to start a new convertor

settings($converter)   X-Ref
Obtain convertor settings

return: \Symfony\Component\HttpFoundation\Response|StreamedResponse
param: string    $converter    Name of the convertor

convert($converter)   X-Ref
Run conversion


finish()   X-Ref
Render the final page of the convertor


proccess_settings_form($convertor)   X-Ref
Validates settings form

param: string    $convertor

render_settings_form($error = array()   X-Ref
Renders settings form

param: array    $error    Array of errors

render_convert_list()   X-Ref
Render the list of available convertors

return: \Symfony\Component\HttpFoundation\Response

render_error($msg, $desc = false)   X-Ref
Renders an error form

param: string        $msg
param: string|bool    $desc

redirect_to_html($url)   X-Ref
Redirects an AJAX request to a non-JS version

param: string    $url    URL to redirect to

setup_navigation($stage)   X-Ref
No description



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1