NZTA\Gallery\Model\GalleryItem
A GalleryItem consists an image with an attached caption that can be used to create a Gallery of GalleryItems.
Synopsis
class GalleryItem
extends DataObject
{
- // members
- private static string $singular_name = 'Gallery item';
- private static string $plural_name = 'Gallery item';
- private static string $table_name = 'GalleryItem';
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'SortOrder ASC';
- // methods
- public FieldList getCMSFields()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db — array
- $default_sort — string
- $has_one — array
- $owns — array
- $plural_name — string
- $singular_name — string
- $summary_fields — array
- $table_name — string