SilverWare\MailChimp\Components\MailChimpSignupController
An extension of the base component controller class for a MailChimp Signup component controller.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class MailChimpSignupController
extends BaseComponentController
{
- // members
- private static array $dependencies = ;
- private static array $allowed_actions = ;
- // methods
- public Form Form()
- public HTTPResponse doSubscribe()
- protected string getSubscribeMethod()
Hierarchy
Extends
- SilverWare\Components\BaseComponentController
Members
private
- $allowed_actions
—
array
Defines the allowed actions for this controller. - $dependencies
—
array
Defines the injector dependencies for this object.
Methods
protected
- getSubscribeMethod() — Answers the API method for adding the subscriber.
public
- Form() — Answers the signup form object for the template.
- doSubscribe() — Handles the submission of the subscribe form.