Return unique name-attribute/signal by following string param:
- send: send-button
- f_name: name-textbox
- f_email: email-textbox
- f_school: school-textbox
- subject: subject-textbox
- content: content-textbox
- to_email: custom-email-textbox
- to_admin: admin-email-list
- mailcontent: if this post-variable is set, it will be included to mail-content.
void
get_mail_signal
(mixed $com)
Message sender
Gets the correct calues from POST-variables
boolean
send_email
()
Sets mail content and sender data
void
set_data
([string $cont = ""], [string $s_name = ""], [string $s_schl = ""])
-
string
$cont: Mail content
-
string
$s_name: Sender name
-
string
$s_schl: Sende school
void
set_sender_name
(mixed $name)
void
set_sender_school
(mixed $school_name)
Handles signals
Handles following superglobal POST variables:
- send: unique signal send executes mail sending logic
void
start
()
Shows current view By view attribute value:
- send: prints the email form. This is default view also.
- contact: prints the email form with admin list
- thanks: prints thanks message
Default is
void
view
()
Inherited Methods
Inherited From Base
Base::make_query()