Lukereative\Podcast\Model\PodcastEpisode
Synopsis
class PodcastEpisode
extends DataObject
{
- // members
- private static string $table_name = 'PodcastEpisode';
- private static array $has_one = ;
- private static array $owns = ;
- private static array $db = ;
- private static array $searchable_fields = ;
- private static array $summary_fields = ;
- private static array $better_buttons_actions = ;
- // methods
- public void populateDefaults()
- public void getCMSFields()
- public string episodeLink()
- public string relativeEpisodeLink()
- public Image thumb()
- public string getMime()
- public string getType()
- public void canView()
- public void canEdit()
- public void canDelete()
- public void canCreate()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $has_one
- $owns
- $searchable_fields
- $summary_fields
- $table_name
Methods
public
- canCreate()
- canDelete()
- canEdit()
- canView()
- episodeLink() — Returns the absolute link to the episode's page
- getCMSFields()
- getMime() — Returns mime type for use in PodcastRSS enclosure
- getType() — Returns the type for page template for audio, video tags or download link
- populateDefaults()
- relativeEpisodeLink() — Returns the relative link to the episode's page
- thumb() — Returns a thumbnail of the Episode Image