\GalleryPage
GalleryPage
- Author: Anselm Christophersen <ac@anselm.dk>
Synopsis
class GalleryPage
extends Page
implements
UploadDirRulesInterface
{
- // members
- private static string $singular_name = 'Gallery';
- private static string $plural_name = 'Galleries';
- private static string $description = 'A page type for listing images';
- private static array $allowed_children = ;
- private static string $icon = 'gallery-pagetypes/images/pageicons/gallery.png';
- private static array $extensions = ;
- // methods
- public string getCalcAssetsFolderDirectory()
- public void getMessageSaveFirst()
- public void getMessageUploadDirectory()
- public void getReadyForFolderCreation()
Hierarchy
Extends
- Page
Implements
- UploadDirRulesInterface
Members
private
- $allowed_children
- $description
- $extensions
- $icon
- $plural_name
- $singular_name
Methods
public
- getCalcAssetsFolderDirectory() — The gallery directory is created based on the page name You can overwrite this behavior by extending this page TODO this could also be made configurable
- getMessageSaveFirst()
- getMessageUploadDirectory()
- getReadyForFolderCreation()