abstract class form
Abstract class form
Methods
__construct(auth $auth, config $config, driver_interface $db, user $user, string $phpbb_root_path, string $phpEx)
Construct |
||
string |
get_page_title()
Returns the title for the email form page |
|
string |
get_template_file()
Returns the file name of the form template |
|
false|string |
check_allow()
Checks whether the user is allowed to use the form |
|
string |
get_return_message()
Get the return link after the message has been sent |
|
null |
bind(request_interface $request)
Bind the values of the request to the form |
|
null |
submit(messenger $messenger)
Submit form, generate the email and send it |
|
null |
render(template $template)
Render the template of the form |
Details
at line 54
public
__construct(auth $auth, config $config, driver_interface $db, user $user, string $phpbb_root_path, string $phpEx)
Construct
at line 72
public string
get_page_title()
Returns the title for the email form page
at line 82
public string
get_template_file()
Returns the file name of the form template
at line 92
public false|string
check_allow()
Checks whether the user is allowed to use the form
at line 112
public string
get_return_message()
Get the return link after the message has been sent
at line 123
public null
bind(request_interface $request)
Bind the values of the request to the form
at line 135
public null
submit(messenger $messenger)
Submit form, generate the email and send it
at line 167
public null
render(template $template)
Render the template of the form