class admin_form extends form

Class admin_form Displays a message to the user and allows him to send an email

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 db_text $config_text
protected dispatcher_interface $dispatcher
protected string $subject
protected string $sender_name
protected string $sender_address

Methods

__construct(auth $auth, config $config, db_text $config_text, driver_interface $db, user $user, dispatcher_interface $dispatcher, string $phpbb_root_path, string $phpEx)

Construct

string
get_page_title()

Returns the title for the email form page

from  form
string
get_template_file()

Returns the file name of the form template

from  form
false|string
check_allow()

{inheritDoc}

string
get_return_message()

Get the return link after the message has been sent

from  form
void
bind(request_interface $request)

{inheritDoc}

void
submit(service_collection $messenger)

{inheritDoc}

void
render(template $template)

{inheritDoc}

Details

at line 49
__construct(auth $auth, config $config, db_text $config_text, driver_interface $db, user $user, dispatcher_interface $dispatcher, string $phpbb_root_path, string $phpEx)

Construct

Parameters

auth $auth
config $config
db_text $config_text
driver_interface $db
user $user
dispatcher_interface $dispatcher
string $phpbb_root_path
string $phpEx

in form at line 72
string get_page_title()

Returns the title for the email form page

Return Value

string

in form at line 82
string get_template_file()

Returns the file name of the form template

Return Value

string

at line 59
false|string check_allow()

{inheritDoc}

Return Value

false|string

Error string if not allowed, false otherwise

in form at line 112
string get_return_message()

Get the return link after the message has been sent

Return Value

string

at line 78
void bind(request_interface $request)

{inheritDoc}

Parameters

request_interface $request

Return Value

void

at line 90
void submit(service_collection $messenger)

{inheritDoc}

Parameters

service_collection $messenger

Return Value

void

at line 187
void render(template $template)

{inheritDoc}

Parameters

template $template

Return Value

void