IQnection\PageBuilder\Section\PageBuilderSection
Synopsis
class PageBuilderSection
extends DataObject
{
- // members
- private static string $table_name = 'PageBuilderSection';
- private static string $singular_name = 'Panel';
- private static string $plural_name = 'Panels';
- private static string $type_title = 'Unknown Section';
- private static string $background_image_class = 'bg-image';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $casting = ;
- private static array $owns = ;
- private static array $background_colors = ;
- private static array $border_colors = ;
- private static string $default_sort = 'SortOrder ASC';
- // methods
- public void getCMSFields()
- public void getAnchorsInContent()
- public void BackgroundPreview()
- public void getBetterButtonsActions()
- public void onBeforeWrite()
- public void ElementHTMLID()
- protected void cleanCssClassName()
- public void CSSClasses()
- public void getCustomCSS()
- public void getTitle()
- public void getDescription()
- public void CMSPreview()
- public void forTemplate()
- public void Render()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
-
$background_colors
Set values in site yml config expects array of key: value pairs where key is the title to display in the dropdown and value is the css class declared in your stylesheet - $background_image_class
-
$border_colors
Set values in site yml config expects array of key: value pairs where key is the title to display in the dropdown and value is the css color hex value - $casting
- $db
- $default_sort
- $has_one
- $owns
- $plural_name
- $singular_name
- $summary_fields
- $table_name
- $type_title