Firebrand\HailElemental\Elements\HailCarouselElement
Hail Carousel Elemental element
- Author: Marc Espiard, Firebrand
Synopsis
class HailCarouselElement
extends BaseElement
{
- // members
- private static string $table_name = 'HailCarouselElement';
- private static string $controller_template = 'HailCarouselElementHolder';
- private static array $db = ;
- private static array $defaults = ;
- private static string $singular_name = 'hail carousel';
- private static string $plural_name = 'hail carousels';
- private static string $description = 'Add a Hail Carousel';
- private static array $has_one = ;
- private static string $icon = 'hail-icon';
- // methods
- public void getCMSFields()
- public void forTemplate()
- public void getCMSValidator()
- public void getType()
- public PaginatedList getCarouselItems()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
- $controller_template
- $db
- $defaults
- $description
- $has_one
- $icon
- $plural_name
- $singular_name
- $table_name
Methods
public
- forTemplate()
- getCMSFields()
- getCMSValidator()
- getCarouselItems() — Get the carousel items filtering them according to the element configuration
- getType()