AudioDidact\Video
Class Video Stores YouTube video specific data
Synopsis
class Video
{
- // members
- private $id;
- private $title;
- private $desc;
- private $time;
- private $duration;
- private $author;
- private $order;
- private $url;
- private $isVideo;
- private $thumbnailFilename;
- private $filename;
- private $fileExtension;
- // methods
- public mixed getId()
- public void setId()
- public mixed getTitle()
- public void setTitle()
- public mixed getDesc()
- public void setDesc()
- public mixed getTime()
- public void setTime()
- public mixed getDuration()
- public void setDuration()
- public mixed getAuthor()
- public void setAuthor()
- public int getOrder()
- public void setOrder()
- public string getURL()
- public void setURL()
- public bool isIsVideo()
- public void setIsVideo()
- public string getThumbnailFilename()
- public void setThumbnailFilename()
- public string getFilename()
- public void setFilename()
- public string getFileExtension()
Coverage
Methods | 100% | 23 / 23 |
Lines | 100% | 39 / 39 |
Members
private
- $desc — string
- $duration — int
- $fileExtension — string
- $filename — string
- $id — string
- $isVideo — boolean
- $order — int
- $thumbnailFilename — string
- $time — string
- $title — string
- $url — string
Methods
public
- getAuthor() — Gets the video author
- getDesc() — Gets the video description
- getDuration() — Gets the duration of the video in seconds
- getFileExtension()
- getFilename()
- getId() — Gets the YouTube video ID
- getOrder() — Gets the order of the video in the feed
- getThumbnailFilename()
- getTime() — Gets the time the video was added
- getTitle() — Gets the video title
- getURL()
- isIsVideo()
- setAuthor() — Sets the video author
- setDesc() — Sets the video description
- setDuration() — Sets the duration of the video in seconds
- setFilename()
- setId() — Sets the YouTube video ID
- setIsVideo()
- setOrder() — Sets the order of the video in the feed
- setThumbnailFilename()
- setTime() — Sets the time the video was added
- setTitle() — Sets the video title
- setURL()