ilateral\SilverStripe\Gallery\Model\GalleryHub
Generate a page that can display it's children as a grid of thumbnails
Synopsis
class GalleryHub
extends Page
{
- // members
- private static $force_thumbnail_width = NULL;
- private static $force_thumbnail_height = NULL;
- private static $force_thumbnail_resize_type = NULL;
- private static string $description = 'Display child galleries as a thumbnail grid';
- private static string $icon = "resources/i-lateral/silverstripe-gallery/client/dist/images/gallery-hub.png";
- private static string $table_name = "GalleryHub";
- private static array $allowed_children = ;
- private static array $db = ;
- private static array $defaults = ;
- // methods
- public void getControllerName()
- public void getCMSFields()
- public void getSettingsFields()
- public void onBeforeWrite()
- public void getThumbWidth()
- public void getThumbHeight()
- public void getThumbResize()
Hierarchy
Extends
- Page
Members
private
- $allowed_children — array
- $db
- $defaults
- $description — string
- $force_thumbnail_height
—
int
sets the height to force thumbnails to - $force_thumbnail_resize_type
—
string
forces the resize type to a fixed type options: crop, pad, ratio, width, height - $force_thumbnail_width
—
int
sets the width to force thumbnails to - $icon
- $table_name