Mailinglist
 All Data Structures Files Functions Variables Pages
MailinglistOptionsOperation Class Reference

Base Class for Mailinglist extensions. More...

Inheritance diagram for MailinglistOptionsOperation:
Inheritance graph
[legend]
Collaboration diagram for MailinglistOptionsOperation:
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 MailinglistOptionsOperation.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 MailinglistOptionsOperation.class.php.

25  {
26  if (method_exists($list, 'OptionsForm')) {
27  $list->OptionsForm($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 MailinglistOptionsOperation.class.php.

51  {
52  if (method_exists($list, 'OptionsFormSubmit')) {
53  $list->OptionsFormSubmit($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 MailinglistOptionsOperation.class.php.

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

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