\SimplePie_Caption
Handles `<media:text>` captions as defined in Media RSS.
Used by and This class can be overloaded with
Synopsis
class SimplePie_Caption
{
- // members
- public $type;
- public $lang;
- public $startTime;
- public $endTime;
- public $text;
- // methods
- public void __construct()
- public string __toString()
- public string|null get_endtime()
- public string|null get_language()
- public string|null get_starttime()
- public string|null get_text()
- public string|null get_type()
Members
public
- $endTime
—
string
End time - $lang
—
string
Language - $startTime
—
string
Start time - $text
—
string
Caption text - $type
—
string
Content type
Methods
public
- __construct() — Constructor, used to input the data
- __toString() — String-ified version
- get_endtime() — Get the end time
- get_language() — Get the language
- get_starttime() — Get the start time
- get_text() — Get the text of the caption
- get_type() — Get the content type (not MIME type)