\GalleryPage
Class GalleryPage
Synopsis
class GalleryPage
extends Page
{
- // members
- private static string $singular_name = 'Galerie';
- private static string $description = 'Eine Bildergalerie';
- private static boolean $can_be_root = false;
- private static array $allowed_children = ;
- private static string $default_child = '';
- private static array $db = ;
- private static array $many_many = ;
- private static array $many_many_extraFields = ;
- private static array $defaults = ;
- // methods
- public FieldList getCMSFields()
- public DataList SortedImages()
- public Image getPreviewImage()
- public GalleryContainer MatchedImages()
- private void getImageResults()
- private int calculateDifferenceToEstimatedHeight()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $can_be_root
- $db
- $default_child
- $defaults
- $description
- $many_many
- $many_many_extraFields
- $singular_name
Methods
private
- calculateDifferenceToEstimatedHeight() — Private function which determines the difference between an estimated height and the real height of a couple of lines.
- getImageResults() — Private function to fit them to lines and resize them.
public
- MatchedImages() — For possible values for $mode see:
- SortedImages() — Returns the sorted list of images.
- getCMSFields() — Returns the cms fields for this page.
- getPreviewImage() — Returns the preview image for this gallery.