프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$subscription | the subscription being created/edited | ||
$subscriptionTypes | of subscription types | ||
$userId | the user associated with the subscription | ||
$validCountries | valid user country values | ||
$validStatus | valid subscription status values |
메소드 | 설명 | |
---|---|---|
__construct ( $template, $subscriptionId = null, $userId = null ) | Constructor | |
_prepareNotificationEmail ( $mailTemplateKey ) | Internal function to prepare notification email | |
display ( ) | Display the form. | |
execute ( ) | Save subscription. | |
initData ( ) | Initialize form data from current subscription. | |
readInputData ( ) | Assign form data to user-submitted data. |
public __construct ( $template, $subscriptionId = null, $userId = null ) | ||
$template | string? Template to use for form presentation | |
$subscriptionId | int The subscription ID for this subscription; null for new subscription | |
$userId | int The user ID for this subscription; null for new subscription |
public _prepareNotificationEmail ( $mailTemplateKey ) |