Function Module_admin_cns_welcome_emails->get_form_fields
Definitions
adminzone/pages/modules/admin_cns_welcome_emails.php
- Get Tempcode for adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$name | SHORT_TEXT | Blank (empty string) | N/A | N/A | A name for the Welcome E-mail |
$subject | SHORT_TEXT | Blank (empty string) | N/A | N/A | The subject of the Welcome E-mail |
$text | LONG_TEXT | Blank (empty string) | N/A | N/A | The message body of the Welcome E-mail |
$send_after_hours | integer | 0 | N/A | N/A | The number of hours before sending the e-mail |
$newsletter | ?AUTO_LINK | Null | N/A | N/A | What newsletter to send out to instead of members (null: none) |
$usergroup | ?AUTO_LINK | Null | N/A | N/A | The usergroup to tie to (null: none) |
$usergroup_type | ID_TEXT | Blank (empty string) | N/A | N/A | How to send regarding usergroups (blank: indiscriminately) |
Return
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A