Model\Elements\CardDeckSection
A section displaying cards
NOTE: This serves as a starting point for your own implementation of a card
deck using bootstrap. Add more options or more styles as you see fit.
- Author: Matthias Leutenegger <hello@syntro.ch>
Synopsis
class CardDeckSection
extends BaseElement
{
- // members
- private static string $table_name = 'Section_CardDeck';
- private static bool $inline_editable = false;
- private static string $icon = 'font-icon-block-layout-5';
- private static array $styles = ;
- private static array $has_many = ;
- private static array $cascade_duplicates = ;
- // methods
- public FieldList getCMSFields()
- public string getType()
- public string getSummary()
- protected array provideBlockSchema()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
-
$cascade_duplicates
Add default values to database @var array - $has_many
- $icon — string
- $inline_editable — Model\Elements\bool
- $styles — array
-
$table_name
Defines the database table name @var string