NSWDPC\Elemental\Models\Slider\ElementSlider
ElementSlider adds a content slider via a sortable upload field
Synopsis
class ElementSlider
extends ElementContent
{
- // members
- private static string $icon = 'font-icon-picture';
- private static boolean $inline_editable = false;
- private static string $table_name = 'ElementSlider';
- private static string $title = 'Content slider';
- private static string $description = "Display one or more slides with optional hero";
- private static string $singular_name = 'Slider';
- private static string $plural_name = 'Sliders';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $owns = ;
- // methods
- public void getType()
- public void forTemplate()
- protected void addSliderRequirements()
- public void getCMSFields()
- protected void getLinkField()
- public void SortedSlides()
Hierarchy
Extends
- DNADesign\Elemental\Models\ElementContent
Members
private
- $db
- $description
- $has_many
- $has_one
- $icon
- $inline_editable
- $owns
- $plural_name
- $singular_name
- $table_name
- $title
Methods
protected
- addSliderRequirements() — Provides an extension method 'sliderRequirements' where Requirements can be added to handle slider content
- getLinkField()