\PersonalisationVariation
Synopsis
class PersonalisationVariation
extends DataObject
{
- // members
- public static array $db = ;
- public static array $has_one = ;
- public static array $summary_fields = ;
- public static boolean $called = false;
- // methods
- public void NiceClassName()
- public void render()
- public FieldList getCMSFields()
- public string helperText()
- public void onBeforeWrite()
- public void onAfterWrite()
Hierarchy
Extends
- DataObject
Members
public
- $called
- $db
- $has_one
- $summary_fields
Methods
public
- NiceClassName()
- getCMSFields() — Get fields. This is a bit hacky to get around ModelAdmin limitations. Basically, if we are adding a new record, we actually want to return the fields of the specific subclass not PersonalisationVariation itself.
- helperText() — This returns helper text that is displayed at the top of the editor form for a personaliation variation.
- onAfterWrite()
- onBeforeWrite()
- render()