\ImageVariation
Synopsis
class ImageVariation
extends PersonalisationVariation
{
- // Inherited members from PersonalisationVariation
- public static array $db;
- public static array $has_one;
- public static array $summary_fields;
- public static boolean $called;
- // methods
- public void render()
- public void getCMSFields()
- public void helperText()
- public null|string getURL()
- // Inherited methods from PersonalisationVariation
- public void NiceClassName()
- public void render()
- public FieldList getCMSFields()
- public string helperText()
- public void onBeforeWrite()
- public void onAfterWrite()
Hierarchy
Extends
Members
public
- $called
- $db
- $db
- $has_one
- $has_one
- $summary_fields
Methods
public
Inherited from PersonalisationVariation
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()