Mailinglist
 All Data Structures Files Functions Variables Pages
MailinglistSubscribeOperation Class Reference

Base Class for Mailinglist extensions. More...

Inheritance diagram for MailinglistSubscribeOperation:
Inheritance graph
[legend]
Collaboration diagram for MailinglistSubscribeOperation:
Collaboration graph
[legend]

Public Member Functions

MailinglistOperationInterface
 form (&$form, &$form_state, $list)
 Operation page form generation. More...
 
 validate (&$form, &$form_state, $list)
 Operation page form validation. More...
 
 submit (&$form, &$form_state, $list)
 Operation page form submission. More...
 
- Public Member Functions inherited from MailinglistOperation
 isAvailable (MailinglistListInterface $list)
 Implements MailinglistOperationInterface::isAvailable(). More...
 
 hasPermission (MailinglistListInterface $list)
 Implements MailinglistOperationInterface::hasPermission(). More...
 
 enabled (MailinglistListInterface $list)
 Implements MailinglistOperationInterface::enabled(). More...
 
 disabled (MailinglistListInterface $list)
 Implements MailinglistOperationInterface::disabled(). More...
 
 form (&$form, &$form_state, $list)
 Operation page form generation. More...
 
 validate (&$form, &$form_state, $list)
 Operation page form validation. More...
 
 submit (&$form, &$form_state, $list)
 Operation page form submission. More...
 
MailinglistOperationInterface

Detailed Description

Base Class for Mailinglist extensions.

Definition at line 10 of file MailinglistSubscribeOperation.class.php.

Member Function Documentation

form ( $form,
$form_state,
  $list 
)

Operation page form generation.

Parameters
$formForm for the page.
$form_stateForm state for the page.
$listList we are generating the page for.

Implements MailinglistOperationInterface.

Definition at line 25 of file MailinglistSubscribeOperation.class.php.

25  {
26  if (method_exists($list, 'SubscribeForm')) {
27  $list->SubscribeForm($form, $form_state);
28  }
29  }
submit ( $form,
$form_state,
  $list 
)

Operation page form submission.

Parameters
$formForm for the page.
$form_stateForm state for the page.
$listList we are generating the page for.

Implements MailinglistOperationInterface.

Definition at line 51 of file MailinglistSubscribeOperation.class.php.

51  {
52  if (method_exists($list, 'SubscribeFormSubmit')) {
53  $list->SubscribeFormSubmit($form, $form_state);
54  }
55  }
validate ( $form,
$form_state,
  $list 
)

Operation page form validation.

Parameters
$formForm for the page.
$form_stateForm state for the page.
$listList we are generating the page for.

Implements MailinglistOperationInterface.

Definition at line 38 of file MailinglistSubscribeOperation.class.php.

38  {
39  if (method_exists($list, 'SubscribeFormValidate')) {
40  $list->SubscribeFormValidate($form, $form_state);
41  }
42  }

The documentation for this class was generated from the following file: