CustomHtmlForm\Model\StepPage
page type that must be instanciated in the backend for a multi step form
A base name (field "basename" for the form object and the template files of
the form must be defined
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class StepPage
extends Page
{
- // members
- private static array $db = ;
- private static string $table_name = 'CustomHtmlFormStepPage';
- public static integer $add_to_visible_step_nr = 0;
- // methods
- public array fieldLabels()
- public FieldList getCMSFields()
Hierarchy
Extends
- Page
Members
private
- $db
—
array
Definiert die Datenfelder. - $table_name
—
string
DB table name
public
- $add_to_visible_step_nr
—
int
The defined value will be added to the step number to show in frontend checkout navigation.
Methods
public
- fieldLabels() — Field labels for display in tables.
- getCMSFields() — defines the CMS interface for $this