Syntro\SilverstripeElementalBootstrap\Elements\BootstrapCarousel
Simple bootstrap carousel
- Author: Matthias Leutenegger
Synopsis
class BootstrapCarousel
extends BootstrapElement
{
- // members
- private static string $icon = 'font-icon-block-carousel';
- private static string $table_name = 'Syntro_Elemental_BootstrapCarousel';
- private static string $title = 'Carousel';
- private static string $singular_name = 'Carousel';
- private static string $plural_name = 'Carousels';
- private static string $description = 'A bootstrap carousel.';
- private static string $controller_class = BootstrapElementController::class;
- private static array $db = ;
- private static array $many_many = ;
- // methods
- public FieldList getCMSFields()
- public string getType()
- public integer listHelper()
- protected array provideBlockSchema()
- // Inherited methods from BootstrapElement
- public FieldList getCMSFields()
- public string getType()
Hierarchy
Members
private
- $controller_class — string
- $db
—
array
Database fields - $description
- $icon
- $many_many
—
array
Many_many relationship - $plural_name
- $singular_name
- $table_name
- $title
Methods
protected
- provideBlockSchema() — Return file title and thumbnail for summary section of ElementEditor
public
- getCMSFields() — getCMSFields - return fields for CMS
- getType() — getType - get the translated name
- listHelper() — listHelper - Returns the position-argument -1 because bootstrap needs 0 as start
Inherited from Syntro\SilverstripeElementalBootstrap\Elements\BootstrapElement
public
- getCMSFields() — getCMSFields - return the fields rendered in cms
- getType() — getType - get the translated name