65 $form->required(
"name",
"class_name",
"field");
67 $form->annotate(
"name",
"The field name that will be used in the email subject or message (e.g., employee_name, due_date, amount)");
68 $form->annotate(
"map",
"The path from the merge code name to the database values");
69 $form->annotate(
"class_name",
"The name of the DataItem class that can send the message (get the data values)");
71 $form->alias(
"class_name",
"Sending Class Name");
81 $classSelect =
new SelectFieldViewSourceRenderer(
$form,
"class_name",
"Class Name", $classNameList,
"new EmailManager().openMergeCodeDialog()");
95 <p>You will need some knowledge of the system
's tables DataModels to enter merge codes.</p>
96 <button onclick="javascript:modalPopup('Merge Code Help
', '/
action/email/merge_code_help
', '500px
', 'auto'); return false">Merge Code Help</button>
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
$method
Pull out a simple reference to the request method.