\ThemeCustomisation
Synopsis
class ThemeCustomisation
extends DataObject
{
- // members
- private static string $location_for_scss_file = 'themes/main_mysite/src/variables/_themecustomisation.scss';
- private static string $singular_name = 'Theme Customisation';
- private static string $plural_name = 'Theme Customisations';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $field_labels = ;
- private static array $field_labels_right = ;
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public void CMSEditLink()
- public void CMSAddLink()
- public void getCMSFields()
- public void exportToThemeSCSS()
- public void htmlForPageHeader()
- public void canCreate()
- public void canDelete()
- protected void fontFields()
- protected void colourFields()
- protected void fieldsPerType()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $field_labels
- $field_labels_right
- $has_one
- $location_for_scss_file
- $plural_name
- $singular_name
- $summary_fields
Methods
protected
public
- CMSAddLink()
- CMSEditLink()
- canCreate()
- canDelete()
- exportToThemeSCSS() — exports to variable SCSS file ...
- getCMSFields()
- htmlForPageHeader() — stuff to be inserted into head of html - custom css - link to google fonts ...
- i18n_plural_name()
- i18n_singular_name()