AndrewHoule\PhotoGallery\Models\PhotoItem
Synopsis
class PhotoItem
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- private static array $cascade_deletes = ;
- private static array $summary_fields = ;
- private static array $extensions = ;
- private static string $table_name = 'PhotoItem';
- private static string $singular_name = 'Photo';
- private static string $plural_name = 'Photos';
- // methods
- public void getCMSFields()
- public void Thumbnail()
- public void getTitle()
- public void CaptionExcerpt()
- public void getAlbums()
- public void AlbumTitle()
- public void OnBeforeDelete()
- // Inherited methods from CMSPermissionProvider
- public bool|int canCreate()
- public bool|int canEdit()
- public bool|int canDelete()
- public bool canView()
- public bool canPublish()
Hierarchy
Members
private
- $cascade_deletes
- $db
- $extensions
- $has_one
- $owns
- $plural_name
- $singular_name
- $summary_fields
- $table_name