Property | Type | Description | |
---|---|---|---|
$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 | |||
$template | phpbb\template\template |
Method | Description | |
---|---|---|
__construct ( phpbb\path_helper $path_helper, phpbb\request\request_interface $request, phpbb\template\template $template, |
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 ) |
Method | Description | |
---|---|---|
prepare_json_array ( boolean $no_more_output = false ) : array | Prepares iohandler's data to be sent out to the client. |
public __construct ( phpbb\path_helper $path_helper, phpbb\request\request_interface $request, phpbb\template\template $template, |
||
$path_helper | phpbb\path_helper | |
$request | phpbb\request\request_interface | HTTP request interface |
$template | phpbb\template\template | Template engine |
$router | Router | |
$root_path | string | Path to phpBB's root |
public lang_replace_callback ( array $matches ) : string | ||
$matches | array | |
return | string |
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 |
return | array |
protected path_helper,phpbb $path_helper | ||
return | phpbb\path_helper |
protected request_interface,phpbb\request $request | ||
return | phpbb\request\request_interface |