PHP Класс phpbb\install\helper\iohandler\ajax_iohandler

Наследование: extends iohandler_base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$cookies array
$download array
$file_lock_pointer resource
$file_status string
$form string
$nav_data array
$path_helper phpbb\path_helper
$phpbb_root_path string
$redirect_url array
$request phpbb\request\request_interface
$request_client_refresh boolean
$router phpbb\routing\router
$template phpbb\template\template

Открытые методы

Метод Описание
__construct ( phpbb\path_helper $path_helper, phpbb\request\request_interface $request, phpbb\template\template $template, router $router, string $root_path ) Constructor
acquire_lock ( ) Acquires a file lock
add_download_link ( $route, $title, $msg = null )
add_user_form_group ( $title, $form )
generate_form_render_data ( $title, $form )
get_header_variable ( $name, $default = '' )
get_input ( $name, $default, $multibyte = false )
get_raw_input ( $name, $default )
get_server_variable ( $name, $default = '' )
is_secure ( )
lang_replace_callback ( array $matches ) : string Callback function for language replacing
redirect ( $url, $use_ajax = false )
release_lock ( ) Release file lock
render_update_file_status ( $status_array )
request_refresh ( )
send_response ( $no_more_output = false )
set_active_stage_menu ( $menu_path )
set_cookie ( $cookie_name, $cookie_value )
set_finished_stage_menu ( $menu_path )
set_progress ( $task_lang_key, $task_number )

Защищенные методы

Метод Описание
prepare_json_array ( boolean $no_more_output = false ) : array Prepares iohandler's data to be sent out to the client.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( phpbb\path_helper $path_helper, phpbb\request\request_interface $request, phpbb\template\template $template, router $router, string $root_path )
$path_helper phpbb\path_helper
$request phpbb\request\request_interface HTTP request interface
$template phpbb\template\template Template engine
$router phpbb\routing\router Router
$root_path string Path to phpBB's root

acquire_lock() публичный Метод

Acquires a file lock
public acquire_lock ( )

add_user_form_group() публичный Метод

public add_user_form_group ( $title, $form )

generate_form_render_data() публичный Метод

public generate_form_render_data ( $title, $form )

get_header_variable() публичный Метод

public get_header_variable ( $name, $default = '' )

get_input() публичный Метод

public get_input ( $name, $default, $multibyte = false )

get_raw_input() публичный Метод

public get_raw_input ( $name, $default )

get_server_variable() публичный Метод

public get_server_variable ( $name, $default = '' )

is_secure() публичный Метод

public is_secure ( )

lang_replace_callback() публичный Метод

Callback function for language replacing
public lang_replace_callback ( array $matches ) : string
$matches array
Результат string

prepare_json_array() защищенный Метод

Prepares iohandler's data to be sent out to the client.
protected prepare_json_array ( boolean $no_more_output = false ) : array
$no_more_output boolean Whether or not there will be more output in this response
Результат array

redirect() публичный Метод

public redirect ( $url, $use_ajax = false )

release_lock() публичный Метод

Release file lock
public release_lock ( )

render_update_file_status() публичный Метод

public render_update_file_status ( $status_array )

request_refresh() публичный Метод

public request_refresh ( )

send_response() публичный Метод

public send_response ( $no_more_output = false )

set_active_stage_menu() публичный Метод

public set_active_stage_menu ( $menu_path )

set_finished_stage_menu() публичный Метод

public set_finished_stage_menu ( $menu_path )

set_progress() публичный Метод

public set_progress ( $task_lang_key, $task_number )

Описание свойств

$cookies защищенное свойство

protected array $cookies
Результат array

$download защищенное свойство

protected array $download
Результат array

$file_lock_pointer защищенное свойство

protected resource $file_lock_pointer
Результат resource

$file_status защищенное свойство

protected string $file_status
Результат string

$form защищенное свойство

protected string $form
Результат string

$nav_data защищенное свойство

protected array $nav_data
Результат array

$path_helper защищенное свойство

protected path_helper,phpbb $path_helper
Результат phpbb\path_helper

$phpbb_root_path защищенное свойство

protected string $phpbb_root_path
Результат string

$redirect_url защищенное свойство

protected array $redirect_url
Результат array

$request защищенное свойство

protected request_interface,phpbb\request $request
Результат phpbb\request\request_interface

$request_client_refresh защищенное свойство

protected bool $request_client_refresh
Результат boolean

$router защищенное свойство

protected router,phpbb\routing $router
Результат phpbb\routing\router

$template защищенное свойство

protected template,phpbb\template $template
Результат phpbb\template\template