Enclosure
class Enclosure
// Constructor: function Object() { [native code] } Handles everything related to enclosures (including Media RSS and iTunes RSS)
Methods 41 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor, used to input the data
Parameters: $link: mixed, $type: mixed, $length: mixed, $javascript: mixed, $bitrate: mixed, $captions: mixed, $categories: mixed, $channels: mixed, $copyright: mixed, $credits: mixed, $description: mixed, $duration: mixed, $expression: mixed, $framerate: mixed, $hashes: mixed, $height: mixed, $keywords: mixed, $lang: mixed, $medium: mixed, $player: mixed, $ratings: mixed, $restrictions: mixed, $samplingrate: mixed, $thumbnails: mixed, $title: mixed, $width: mixed |
| __toString() string | String-ified version |
| get_bitrate() (string | Get the bitrate |
| get_caption() (\SimplePie\Caption | Get a single caption
Parameters: $key: mixed |
| get_captions() (array | Get all captions |
| get_category() (\SimplePie\Category | Get a single category
Parameters: $key: mixed |
| get_categories() (array | Get all categories |
| get_channels() (int | Get the number of audio channels |
| get_copyright() (\SimplePie\Copyright | Get the copyright information |
| get_credit() (\SimplePie\Credit | Get a single credit
Parameters: $key: mixed |
| get_credits() (array | Get all credits |
| get_description() (string | Get the description of the enclosure |
| get_duration() (string | Get the duration of the enclosure
Parameters: $convert: mixed |
| get_expression() string | Get the expression |
| get_extension() (string | Get the file extension |
| get_framerate() (string | Get the framerate (in frames-per-second) |
| get_handler() (string | Get the preferred handler |
| get_hash() (string | Get a single hash
Parameters: $key: mixed |
| get_hashes() (array | Get all credits |
| get_height() (string | Get the height |
| get_language() (string | Get the language |
| get_keyword() (string | Get a single keyword
Parameters: $key: mixed |
| get_keywords() (array | Get all keywords |
| get_length() float | Get length |
| get_link() (string | Get the URL |
| get_medium() (string | Get the medium |
| get_player() (string | Get the player URL |
| get_rating() (\SimplePie\Rating | Get a single rating
Parameters: $key: mixed |
| get_ratings() (array | Get all ratings |
| get_restriction() (\SimplePie\Restriction | Get a single restriction
Parameters: $key: mixed |
| get_restrictions() (array | Get all restrictions |
| get_sampling_rate() (string | Get the sampling rate (in kHz) |
| get_size() (float | Get the file size (in MiB) |
| get_thumbnail() (string | Get a single thumbnail
Parameters: $key: mixed |
| get_thumbnails() (array | Get all thumbnails |
| get_title() (string | Get the title |
| get_type() (string | Get mimetype of the enclosure |
| get_width() (string | Get the width |
| native_embed() string | Embed the enclosure using `<embed>`
Parameters: $options: mixed |
| embed() string | Embed the enclosure using Javascript
Parameters: $options: mixed, $native: mixed |
| get_real_type() string | Get the real media type
Parameters: $find_handler: mixed |
Properties
| Property / Type | Description |
|---|---|
| $bitrate mixed public | No description available. |
| $captions mixed public | No description available. |
| $categories mixed public | No description available. |
| $channels mixed public | No description available. |
| $copyright mixed public | No description available. |
| $credits mixed public | No description available. |
| $description mixed public | No description available. |
| $duration mixed public | No description available. |
| $expression mixed public | No description available. |
| $framerate mixed public | No description available. |
| $handler mixed public | No description available. |
| $hashes mixed public | No description available. |
| $height mixed public | No description available. |
| $javascript mixed public | No description available. |
| $keywords mixed public | No description available. |
| $lang mixed public | No description available. |
| $length mixed public | No description available. |
| $link mixed public | No description available. |
| $medium mixed public | No description available. |
| $player mixed public | No description available. |
| $ratings mixed public | No description available. |
| $restrictions mixed public | No description available. |
| $samplingrate mixed public | No description available. |
| $thumbnails mixed public | No description available. |
| $title mixed public | No description available. |
| $type mixed public | No description available. |
| $width mixed public | No description available. |