\YouTubeVideo
Class YouTubeVideo
Represents a video on YouTube
Synopsis
class YouTubeVideo
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $indexes = ;
- private static array $summary_fields = ;
- private static string $default_sort = "Published DESC";
- // methods
- public string getLink()
- public static bool|DataList getExisting()
Hierarchy
Extends
- DataObject
Members
private
- $db — array
- $default_sort — string
- $has_one
- $indexes — array
- $summary_fields — array
Methods
public
- getExisting() — Looks up YouTubeVideo objects by VideoID, returns the first result
- getLink() — Returns the URL where the video resides on YouTube