NZTA\PromoOverlay\Models\PromoSlide
Synopsis
class PromoSlide
extends DataObject
{
- // members
- private static string $singular_name = 'Promo Slide';
- private static string $plural_name = 'Promo Slides';
- private static string $table_name = 'PromoSlide';
- private static array $db = ;
- private static array $has_one = ;
- private static array $default_sort = ;
- // methods
- public FieldList getCMSFields()
- public RequiredFields getCMSValidator()
- public string getBackgroundVideoID()
- public string getFullScreenVideoID()
- private string getVideoID()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db — array
- $default_sort — array
- $has_one — array
- $plural_name — string
- $singular_name — string
- $table_name — string
Methods
private
- getVideoID() — Helper to strip the YouTube ID from a provided URL.
public
- getBackgroundVideoID() — Helper to strip the YouTube ID from the BackgroundVideo URL entered.
- getCMSFields()
- getCMSValidator()
- getFullScreenVideoID() — Helper to strip the YouTube ID from the FullscreenVideo URL entered.