ilateral\SilverStripe\Gallery\Model\GalleryPage
A single page that can display many images as thumbnails.
Synopsis
class GalleryPage
extends GalleryHub
{
- // members
- private static $force_image_width = NULL;
- private static $force_image_height = NULL;
- private static $force_image_resize_type = NULL;
- private static string $description = 'Display a "gallery" of images';
- private static string $icon = "resources/i-lateral/silverstripe-gallery/client/dist/images/gallery.png";
- private static string $table_name = "GalleryPage";
- private static array $db = ;
- private static array $defaults = ;
- private static array $many_many = ;
- private static array $many_many_extraFields = ;
- private static array $owns = ;
- // methods
- public void getControllerName()
- public SSList SortedImages()
- public void getCMSFields()
- public void getSettingsFields()
- public void onBeforeWrite()
- public void getFullWidth()
- public void getFullHeight()
- public void getFullResize()
- // Inherited methods from GalleryHub
- public void getControllerName()
- public void getCMSFields()
- public void getSettingsFields()
- public void onBeforeWrite()
- public void getThumbWidth()
- public void getThumbHeight()
- public void getThumbResize()
Hierarchy
Members
private
- $db
- $defaults
- $description — string
- $force_image_height
—
int
sets the height to force full images to - $force_image_resize_type
—
string
forces the resize type to a fixed type options: crop, pad, ratio, width, height - $force_image_width
—
int
sets the width to force full images to - $icon
- $many_many
- $many_many_extraFields
- $owns
- $table_name
Methods
public
- SortedImages() — Return sorted images
- getCMSFields()
- getControllerName()
- getFullHeight()
- getFullResize()
- getFullWidth()
- getSettingsFields()
- onBeforeWrite()