Syntro\SilverstripeElementalBootstrap\Elements\BootstrapAlert
A simple alert.
- Author: Matthias Leutenegger
Synopsis
class BootstrapAlert
extends BootstrapElement
{
- // members
- private static string $icon = 'font-icon-attention';
- private static string $table_name = 'Syntro_Elemental_BootstrapAlert';
- private static string $title = 'Alert';
- private static string $singular_name = 'Alert';
- private static string $plural_name = 'Alerts';
- private static string $description = 'A bootstrap alert.';
- private static string $controller_class = BootstrapElementController::class;
- private static array $db = ;
- // 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
- $icon
- $plural_name
- $singular_name
- $table_name
- $title
Methods
protected
- provideBlockSchema() — provideBlockSchema - provide the summary to the block
public
- getCMSFields() — getCMSFields - get fieldlist for CMS
- 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