PHP 클래스 phpbb\convert\controller\convertor

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.
파일 보기 프로젝트 열기: phpbb/phpbb

보호된 프로퍼티들

프로퍼티 타입 설명
$cache phpbb\cache\driver\driver_interface
$config phpbb\config\db
$config_php_file phpbb\config_php_file
$config_table string
$controller_helper phpbb\install\controller\helper
$db phpbb\db\driver\driver_interface
$db_helper phpbb\install\helper\database
$install_helper phpbb\install\helper\install_helper
$installer_cache phpbb\cache\driver\driver_interface
$iohandler phpbb\install\helper\iohandler\iohandler_interface
$language phpbb\language\language
$navigation_provider phpbb\install\helper\navigation\navigation_provider
$php_ext string
$phpbb_root_path string
$request phpbb\request\request_interface
$session_keys_table string
$session_table string
$template phpbb\template\template

공개 메소드들

메소드 설명
__construct ( phpbb\cache\driver\driver_interface $cache, phpbb\install\helper\container_factory $container, phpbb\install\helper\database $db_helper, phpbb\install\controller\helper $controller_helper, phpbb\install\helper\install_helper $install_helper, phpbb\install\helper\iohandler\factory $iohandler, phpbb\language\language $language, phpbb\install\helper\navigation\navigation_provider $nav, phpbb\request\request_interface $request, phpbb\template\template $template, string $phpbb_root_path, string $php_ext ) Constructor
convert ( $converter ) Run conversion
finish ( ) Render the final page of the convertor
intro ( boolean | integer $start_new ) : Response Render the intro page
proccess_settings_form ( string $convertor ) Validates settings form
redirect_to_html ( string $url ) Redirects an AJAX request to a non-JS version
render_error ( string $msg, string | boolean $desc = false ) Renders an error form
render_settings_form ( array $error = [] ) Renders settings form
settings ( string $convertor ) : Response | Symfony\Component\HttpFoundation\StreamedResponse Obtain convertor settings

보호된 메소드들

메소드 설명
render_convert_list ( ) : Response Render the list of available convertors

비공개 메소드들

메소드 설명
setup_navigation ( $stage )

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( phpbb\cache\driver\driver_interface $cache, phpbb\install\helper\container_factory $container, phpbb\install\helper\database $db_helper, phpbb\install\controller\helper $controller_helper, phpbb\install\helper\install_helper $install_helper, phpbb\install\helper\iohandler\factory $iohandler, phpbb\language\language $language, phpbb\install\helper\navigation\navigation_provider $nav, phpbb\request\request_interface $request, phpbb\template\template $template, string $phpbb_root_path, string $php_ext )
$cache phpbb\cache\driver\driver_interface
$container phpbb\install\helper\container_factory
$db_helper phpbb\install\helper\database
$controller_helper phpbb\install\controller\helper
$install_helper phpbb\install\helper\install_helper
$iohandler phpbb\install\helper\iohandler\factory
$language phpbb\language\language
$nav phpbb\install\helper\navigation\navigation_provider
$request phpbb\request\request_interface
$template phpbb\template\template
$phpbb_root_path string
$php_ext string

convert() 공개 메소드

Run conversion
public convert ( $converter )

finish() 공개 메소드

Render the final page of the convertor
public finish ( )

intro() 공개 메소드

Render the intro page
public intro ( boolean | integer $start_new ) : Response
$start_new boolean | integer Whether or not to force to start a new convertor
리턴 Symfony\Component\HttpFoundation\Response

proccess_settings_form() 공개 메소드

Validates settings form
public proccess_settings_form ( string $convertor )
$convertor string

redirect_to_html() 공개 메소드

Redirects an AJAX request to a non-JS version
public redirect_to_html ( string $url )
$url string URL to redirect to

render_convert_list() 보호된 메소드

Render the list of available convertors
protected render_convert_list ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response

render_error() 공개 메소드

Renders an error form
public render_error ( string $msg, string | boolean $desc = false )
$msg string
$desc string | boolean

render_settings_form() 공개 메소드

Renders settings form
public render_settings_form ( array $error = [] )
$error array Array of errors

settings() 공개 메소드

Obtain convertor settings
public settings ( string $convertor ) : Response | Symfony\Component\HttpFoundation\StreamedResponse
$convertor string Name of the convertor
리턴 Symfony\Component\HttpFoundation\Response | Symfony\Component\HttpFoundation\StreamedResponse

프로퍼티 상세

$cache 보호되어 있는 프로퍼티

protected driver_interface,phpbb\cache\driver $cache
리턴 phpbb\cache\driver\driver_interface

$config 보호되어 있는 프로퍼티

protected db,phpbb\config $config
리턴 phpbb\config\db

$config_php_file 보호되어 있는 프로퍼티

protected config_php_file,phpbb $config_php_file
리턴 phpbb\config_php_file

$config_table 보호되어 있는 프로퍼티

protected string $config_table
리턴 string

$controller_helper 보호되어 있는 프로퍼티

protected helper,phpbb\install\controller $controller_helper
리턴 phpbb\install\controller\helper

$db 보호되어 있는 프로퍼티

protected driver_interface,phpbb\db\driver $db
리턴 phpbb\db\driver\driver_interface

$db_helper 보호되어 있는 프로퍼티

protected database,phpbb\install\helper $db_helper
리턴 phpbb\install\helper\database

$install_helper 보호되어 있는 프로퍼티

protected install_helper,phpbb\install\helper $install_helper
리턴 phpbb\install\helper\install_helper

$installer_cache 보호되어 있는 프로퍼티

protected driver_interface,phpbb\cache\driver $installer_cache
리턴 phpbb\cache\driver\driver_interface

$iohandler 보호되어 있는 프로퍼티

protected iohandler_interface,phpbb\install\helper\iohandler $iohandler
리턴 phpbb\install\helper\iohandler\iohandler_interface

$language 보호되어 있는 프로퍼티

protected language,phpbb\language $language
리턴 phpbb\language\language

$navigation_provider 보호되어 있는 프로퍼티

protected navigation_provider,phpbb\install\helper\navigation $navigation_provider
리턴 phpbb\install\helper\navigation\navigation_provider

$php_ext 보호되어 있는 프로퍼티

protected string $php_ext
리턴 string

$phpbb_root_path 보호되어 있는 프로퍼티

protected string $phpbb_root_path
리턴 string

$request 보호되어 있는 프로퍼티

protected request_interface,phpbb\request $request
리턴 phpbb\request\request_interface

$session_keys_table 보호되어 있는 프로퍼티

protected string $session_keys_table
리턴 string

$session_table 보호되어 있는 프로퍼티

protected string $session_table
리턴 string

$template 보호되어 있는 프로퍼티

protected template,phpbb\template $template
리턴 phpbb\template\template