Jellygnite\Elements\Model\GalleryObject
Class GalleryObject
Synopsis
class GalleryObject
extends BaseElementObject
{
- // members
- private static array $valid_providers = ;
- private static float $default_aspect_ratio = 1.78;
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- private static string $singular_name = 'Media Item';
- private static string $plural_name = 'Media Items';
- private static array $belongs_many_many = ;
- private static string $table_name = 'GalleryObject';
- private static array $summary_fields = ;
- private static array $defaults = ;
- // methods
- public FieldList getCMSFields()
- public void getOwnerElement()
- public mixed getSummary()
- public void validate()
- public void getVideoURL()
- public void getEmbedURL()
- public void getMetadataAsArray()
- public void getVideoWidth()
- public void getVideoHeight()
- public void getVideoAspectRatio()
- public void getVideoContainerPadding()
- public void getMediaType()
- // Inherited methods from BaseElementObject
- public array fieldLabels()
- public FieldList getCMSFields()
- public SiteTree|null getPage()
- public void getOwnerElement()
- public void getLinkURL()
- public void getStyleVariant()
- public boolean canView()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canCreate()
Hierarchy
Members
private
- $belongs_many_many — array
- $db
- $default_aspect_ratio
- $defaults
- $has_one
- $owns
- $plural_name
- $singular_name
- $summary_fields — array
- $table_name — string
- $valid_providers
Methods
public
- getCMSFields()
- getEmbedURL()
- getMediaType()
- getMetadataAsArray()
- getOwnerElement()
- getSummary()
- getVideoAspectRatio()
- getVideoContainerPadding()
- getVideoHeight()
- getVideoURL()
- getVideoWidth()
- validate()
Inherited from Jellygnite\Elements\Model\BaseElementObject
public
- canCreate() — Basic permissions, defaults to page perms where possible.
- canDelete() — Basic permissions, defaults to page perms where possible.
- canEdit() — Basic permissions, defaults to page perms where possible.
- canView() — Basic permissions, defaults to page perms where possible.
- fieldLabels()
- getCMSFields()
- getLinkURL()
- getOwnerElement()
- getPage()
- getStyleVariant()