\Vision6PageController
Class Vision6PageController
- Author: Reece Alexander <reece@steadlane.com.au>
Synopsis
class Vision6PageController
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void index()
- public Form getForm()
- public bool|SS_HTTPResponse subscribe()
- public string Link()
- public array normalizeFormData()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions — array
Methods
public
- Link() — Link overload to return correct URL (it wants to return this classes name instead of our beautiful route rule)
- getForm()
- index() — No one has a need to view the index and at no point should anyone be directly linked to it
- normalizeFormData() — Normalizes the POST names for what Vision6 expects (SilverSripe adds an underscore to names with a space in it, so need to reverse this, also need to implode arrays into CSV format)
- subscribe() — Form processor