Core Class
View Source on Trac ↗
Core Class
Caption
class Caption
// Constructor: function Object() { [native code] } Handles `<media:text>` captions as defined in Media RSS.
Methods 7 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor, used to input the data
Parameters: $type: mixed, $lang: mixed, $startTime: mixed, $endTime: mixed, $text: mixed |
| __toString() string | String-ified version |
| get_endtime() (string | Get the end time |
| get_language() (string | Get the language |
| get_starttime() (string | Get the start time |
| get_text() (string | Get the text of the caption |
| get_type() (string | Get the content type (not MIME type) |
Properties
| Property / Type | Description |
|---|---|
| $type mixed public | No description available. |
| $lang mixed public | No description available. |
| $startTime mixed public | No description available. |
| $endTime mixed public | No description available. |
| $text mixed public | No description available. |
Class Information
Source File
wp-includes/SimplePie/src/Caption.php
Advertisement