SilverWare\MailChimp\Pages\SubscribePageController
An extension of the page controller class for a MailChimp subscribe 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 SubscribePageController
extends PageController
{
- // members
- private static array $dependencies = ;
- private static array $allowed_actions = ;
- // methods
- public Form Form()
- public HTTPResponse doSubscribe()
- protected string getSubscribeMethod()
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
- getSubscribeMethod() — Answers the API method for adding the subscriber.
public
- Form() — Answers the form object for the template.
- doSubscribe() — Handles the submission of the subscribe form.