Taitava\SlickCarousel\CarouselSlide
Class CarouselSlide
Synopsis
class CarouselSlide
extends DataObject
{
- // members
- private static string $table_name = 'CarouselSlide';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $casting = ;
- private static array $searchable_fields = ;
- private static string $default_sort = 'Sort ASC';
- // methods
- public void fieldLabels()
- public string Link()
- public string PlainContent()
- public void forTemplate()
- public void getCMSFields()
- public string StyleAttribute()
- public void ImagePlacement()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $casting
- $db
- $default_sort
- $has_one
- $searchable_fields
- $summary_fields
- $table_name
Methods
public
- ImagePlacement()
- Link()
- PlainContent() — Used in summary fields.
- StyleAttribute() — Generates the content for the slide's <div style=""> attribute. Does not return the 'style=""' part, only the value. This way more style rules can be added in the template after or before these rules.
- fieldLabels()
- forTemplate()
- getCMSFields()