Syntro\SilverstripeElementalBootstrap\Elements\BootstrapImage
A simple Card, containing images on top or bottom, a title and a body.
- Author: Matthias Leutenegger
Synopsis
class BootstrapImage
extends BootstrapElement
{
- // members
- private static string $icon = 'font-icon-image';
- private static string $table_name = 'Syntro_Elemental_BootstrapImage';
- private static string $title = 'Image';
- private static string $singular_name = 'Image';
- private static string $plural_name = 'Images';
- private static string $description = 'A bootstrap image.';
- private static string $controller_class = BootstrapElementController::class;
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- // methods
- public FieldList getCMSFields()
- public null|string getTitle()
- public string getType()
- protected array provideBlockSchema()
- // 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
- $owns
—
array
Relationship version ownership - $plural_name
- $singular_name
- $table_name
- $title
Methods
protected
- provideBlockSchema() — Return file title and thumbnail for summary section of ElementEditor
public
- getCMSFields() — getCMSFields - return the fields for cms
- getTitle() — getTitle - generate the Title from the Image
- 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