\YoutubeVideo
Synopsis
class YoutubeVideo
extends DataObject
{
- // members
- private static array $db = ;
- private static array $indexes = ;
- private static array $defaults = ;
- private static string $default_sort = 'SortOrder ASC';
- // methods
- public void getCMSFields()
- public void fieldLabels()
- public string getURL()
- public string getEmbedURL()
- public string getIframe()
- public void canView()
- public void canEdit()
- public void canDelete()
- public void canCreate()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $default_sort
- $defaults
- $indexes
Methods
public
- canCreate()
- canDelete()
- canEdit()
- canView()
- fieldLabels()
- getCMSFields()
- getEmbedURL() — Get the URL for the embedded video
- getIframe() — Get the full iFrame tag to embed the video
- getURL() — Get the URL to the video on youtube