Syntro\SilverstripeElementalBootstrap\Elements\BootstrapElement
The base building block for any Bootstrap element.
This Element is intended to provide all additional fields needed for a
good bootstrap integration
- Author: Matthias Leutenegger
Synopsis
class BootstrapElement
extends BaseElement
{
- // members
- private static string $table_name = 'Syntro_Elemental_BootstrapElement';
- private static string $title = 'Element';
- private static string $singular_name = 'Element';
- private static string $plural_name = 'Elements';
- private static string $description = 'A bootstrap element';
- private static string $controller_class = BootstrapElementController::class;
- private static array $db = ;
- private static array $extensions = ;
- // methods
- public FieldList getCMSFields()
- public string getType()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
- $controller_class — string
- $db
—
array
Database fields - $description
- $extensions
—
array
Defines extension names and parameters to be applied to this object upon construction. - $plural_name
- $singular_name
- $table_name
- $title
Methods
public
- getCMSFields() — getCMSFields - return the fields rendered in cms
- getType() — getType - get the translated name