Syntro\SilverstripeElementalBootstrap\Elements\BootstrapCard
A simple Card, containing images on top or bottom, a title and a body.
- Author: Matthias Leutenegger
Synopsis
class BootstrapCard
extends BootstrapElement
{
- // members
- private static string $icon = 'font-icon-block-banner';
- private static string $table_name = 'Syntro_Elemental_BootstrapCard';
- private static string $title = 'Card';
- private static string $singular_name = 'Card';
- private static string $plural_name = 'Cards';
- private static string $description = 'A simple Card with an image, title and body.';
- private static string $controller_class = BootstrapElementController::class;
- private static array $db = ;
- private static array $has_one = ;
- // methods
- public FieldList getCMSFields()
- public string getType()
- protected array provideBlockSchema()
- public null|string getSummary()
- // Inherited methods from BootstrapElement
- public FieldList getCMSFields()
- public string getType()
Hierarchy
Members
private
- $controller_class — string
- $db
—
array
Database fields - $description
- $has_one
—
array
Has_one relationship - $icon
- $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 fieldlist
- getSummary() — Return a Summary string
- getType() — getType - get the translated name
Inherited from Syntro\SilverstripeElementalBootstrap\Elements\BootstrapElement
public
- getCMSFields() — getCMSFields - return the fields rendered in cms
- getType() — getType - get the translated name