\ThankfullyPage
Class ThankfullyPage
- Author: Reece Alexander <reece@steadlane.com.au>
Synopsis
class ThankfullyPage
extends Page
{
- // members
- private static array $db = ;
- private static string $description = 'This page is created automatically and is used to generate a Thank You page based on certain parameters provided at the time.';
- private static array $defaults = ;
- private static array $has_many = ;
- protected $returnTo;
- // methods
- public FieldList getCMSFields()
- public $this setAllowed()
- public $this setReturnTo()
- public string Link()
Hierarchy
Extends
- Page
Members
private
- $db — array
- $defaults — array
- $description — string
- $has_many
protected
- $returnTo — string
Methods
public
- Link() — Link override to include query string for conversion tracking
- getCMSFields()
- setAllowed() — Must be used when instantiating manually (e.g when you're not using {@link ::prepare()})
- setReturnTo() — Set the "return to" URL. A user won't be automatically redirected here instead the template is given a $ReturnTo method which can be used to provide a "Return to Previous Page" button