SilverWare\MailChimp\Pages\UnsubscribePageController
An extension of the page controller class for a MailChimp unsubscribe page controller.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2018 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class UnsubscribePageController
extends PageController
{
- // members
- private static array $dependencies = ;
- private static array $allowed_actions = ;
- // methods
- public Form Form()
- public HTTPResponse doUnsubscribe()
- protected string getUnsubscribeMethod()
Hierarchy
Extends
- PageController
Members
private
- $allowed_actions
—
array
Defines the allowed actions for this controller. - $dependencies
—
array
Defines the injector dependencies for this object.
Methods
protected
- getUnsubscribeMethod() — Answers the API method for unsubscribing the subscriber.
public
- Form() — Answers the form object for the template.
- doUnsubscribe() — Handles the submission of the unsubscribe form.