SilverWare\Contact\Pages\ContactPageController
An extension of the page controller class for a contact page.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class ContactPageController
extends PageController
{
- // members
- private static array $allowed_actions = ;
- // methods
- public Form Form()
- public HTTPResponse doSend()
- public string getRecipientFieldLabel()
- public array getRecipientIDs()
Hierarchy
Extends
- PageController
Members
private
- $allowed_actions
—
array
Defines the allowed actions for this controller.
Methods
public
- Form() — Answers the form object for the HTML template.
- doSend() — Handles the submission of the contact form.
- getRecipientFieldLabel() — Answers the label for the recipient field.
- getRecipientIDs() — Answers an array of recipient IDs for the message object based upon the given form data.