\BoilerplatePageExtension
Class BoilerplatePageExtension
Synopsis
class BoilerplatePageExtension
extends DataExtension
{
- // members
- private static string $theme_color = '';
- private static array $db = ;
- // methods
- public FieldList updateCMSFields()
- public FieldList updateSettingsFields()
- public ArrayData|bool DirectionLink()
- public string|bool getThemeColor()
- public ArrayData|bool getPreviousLink()
- public ArrayData|bool getNextLink()
- public bool|mixed getTrackingCodeTop()
- public bool|mixed getTrackingCodeBottom()
Hierarchy
Extends
- DataExtension
Members
private
- $db — array
- $theme_color — string
Methods
public
- DirectionLink()
- getNextLink()
- getPreviousLink()
- getThemeColor() — Set a colour to to display in the header of mobile browsers.
- getTrackingCodeBottom() — If there's no Google Tag Manager in the tracking code return in the footer.
- getTrackingCodeTop() — If the Tracking Code contains Google Tag Manager then return the tracking code directly after the <body> tag.
- updateCMSFields()
- updateSettingsFields()