user_form
class user_form extends form
Class user_form Allows users to send emails to other users
Properties
protected auth | $auth | from form | |
protected config | $config | from form | |
protected driver_interface | $db | from form | |
protected message | $message | from form | |
protected user | $user | from form | |
protected string | $phpbb_root_path | from form | |
protected string | $phpEx | from form | |
protected array | $errors | from form | |
protected bool | $cc_sender | from form | |
protected string | $body | from form | |
protected int | $recipient_id | ||
protected array | $recipient_row | ||
protected string | $subject |
Methods
__construct(auth $auth, config $config, driver_interface $db, user $user, string $phpbb_root_path, string $phpEx)
Construct
from
form
false|string
check_allow()
{inheritDoc}
null
false|array
get_user_row(int $user_id)
Get the data of the recipient
Details
in
form at line 54
__construct(auth $auth, config $config, driver_interface $db, user $user, string $phpbb_root_path, string $phpEx)
Construct
in
form at line 72
string
get_page_title()
Returns the title for the email form page
in
form at line 82
string
get_template_file()
Returns the file name of the form template
at line 51
false|string
check_allow()
{inheritDoc}
in
form at line 112
string
get_return_message()
Get the return link after the message has been sent
at line 86
null
bind(request_interface $request)
{inheritDoc}
at line 99
null
submit(messenger $messenger)
{inheritDoc}
at line 122
null
render(template $template)
{inheritDoc}
at line 35
protected false|array
get_user_row(int $user_id)
Get the data of the recipient