Model\Elements\Card
A card with an Image and link
NOTE: This serves as a starting point for your own implementation of a card
using bootstrap.
- Author: Matthias Leutenegger <hello@syntro.ch>
Synopsis
class Card
extends BaseItem
{
- // members
- private static string $table_name = 'Section_CardDeck_Card';
- private static boolean $displays_title_in_template = true;
- private static array $db = ;
- private static array $has_one = ;
- private static array $cascade_duplicates = ;
- private static array $defaults = ;
- private static array $summary_fields = ;
- private static array $owns = ;
- // methods
- public FieldList getCMSFields()
Hierarchy
Extends
- Syntro\SilverStripeElementalBaseitem\Model\BaseItem
Members
private
-
$cascade_duplicates
Tell SS which files to duplicate alongside this section @var array - $db
-
$defaults
Add default values to database @var array - $displays_title_in_template
- $has_one
- $owns
—
array
Relationship version ownership - $summary_fields
—
array
Defines summary fields commonly used in table columns as a quick overview of the data for this dataobject -
$table_name
Defines the database table name @var string