|
Moodle
2.2.1
http://www.collinsharper.com
|


Definition at line 98 of file VideoEntry.php.
| __construct | ( | $ | element = null | ) |
Creates a Video entry, representing an individual video
| DOMElement | $element | (optional) DOMElement from which this object should be constructed. |
Reimplemented from Zend_Gdata_Media_Entry.
Reimplemented in Zend_Gdata_YouTube_PlaylistVideoEntry.
Definition at line 181 of file VideoEntry.php.

| addVideoDeveloperTag | ( | $ | developerTag | ) |
Adds a developer tag to array of tags for the video.
| string | $developerTag | DeveloperTag for the video |
Definition at line 994 of file VideoEntry.php.


Get the VideoEntry's Zend_Gdata_YouTube_Extension_MediaGroup object. If the mediaGroup does not exist, then set it.
Definition at line 1047 of file VideoEntry.php.

| getComments | ( | ) |
Returns the comments relating to the video.
Definition at line 496 of file VideoEntry.php.

| getDOM | ( | $ | doc = null, |
| $ | majorVersion = 1, |
||
| $ | minorVersion = null |
||
| ) |
Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_Media_Entry.
Reimplemented in Zend_Gdata_YouTube_PlaylistVideoEntry.
Definition at line 197 of file VideoEntry.php.
| getFeedLink | ( | $ | rel = null | ) |
Get the feed link property for this entry.
| string | $rel | (optional) The rel value of the link to be found. If null, the array of links is returned. |
Definition at line 526 of file VideoEntry.php.
Gets the URL of the flash player SWF. null is returned if the duration value is not available.
Definition at line 758 of file VideoEntry.php.

| getLocation | ( | ) |
Gets the location where the video was recorded.
Definition at line 353 of file VideoEntry.php.
| getNoEmbed | ( | ) |
If the return value is an instance of Zend_Gdata_YouTube_Extension_NoEmbed, this video cannot be embedded.
Definition at line 379 of file VideoEntry.php.

| getRacy | ( | ) |
Returns the racy flag object.
| Zend_Gdata_App_VersionException |
Definition at line 446 of file VideoEntry.php.

| getRating | ( | ) |
Returns the rating relating to the video.
Definition at line 474 of file VideoEntry.php.

| getRecorded | ( | ) |
Gets the date that the video was recorded.
Definition at line 330 of file VideoEntry.php.

| getStatistics | ( | ) |
Returns the statistics relating to the video.
Definition at line 415 of file VideoEntry.php.

| getVideoCategory | ( | ) |
Gets the category of this video, if available. The category is returned as a string. Valid categories are found at: http://gdata.youtube.com/schemas/2007/categories.cat If the category is not set, null is returned.
Definition at line 934 of file VideoEntry.php.

Retrieve the URL for a video's comment feed.
Definition at line 1082 of file VideoEntry.php.

Returns the link element relating to video complaints.
Definition at line 565 of file VideoEntry.php.

Gets the description of the video as a string. null is returned if the video description is not available.
Definition at line 694 of file VideoEntry.php.

Gets the developer tags for the video, if available and if client is authenticated with a valid developerKey. The tags are returned as an array. If no tags are set, null is returned.
Definition at line 969 of file VideoEntry.php.

| getVideoDuration | ( | ) |
Gets the duration of the video, in seconds. null is returned if the duration value is not available.
Definition at line 775 of file VideoEntry.php.

Gets the location specified for this video, if available. The location is returned as an array containing the keys 'longitude' and 'latitude'. null is returned if the location is not available.
Definition at line 886 of file VideoEntry.php.

| getVideoId | ( | ) |
Gets the YouTube video ID based upon the atom:id value
Definition at line 575 of file VideoEntry.php.

Gets the rating information for this video, if available. The rating is returned as an array containing the keys 'average' and 'numRaters'. null is returned if the rating information is not available.
Definition at line 914 of file VideoEntry.php.

Returns the link element relating to video ratings.
Definition at line 555 of file VideoEntry.php.

| getVideoRecorded | ( | ) |
Gets the date that the video was recorded.
Definition at line 598 of file VideoEntry.php.

Returns the link element relating to video responses.
Definition at line 545 of file VideoEntry.php.

| getVideoState | ( | ) |
Get the current publishing state of the video.
Definition at line 1029 of file VideoEntry.php.

| getVideoTags | ( | ) |
Gets an array of the tags assigned to this video. For convient usage inside a foreach loop, an empty array is returned when there are no tags assigned.
Definition at line 831 of file VideoEntry.php.

Gets an array of the thumbnails representing the video. Each thumbnail is an element of the array, and is an array of the thumbnail properties - time, height, width, and url. For convient usage inside a foreach loop, an empty array is returned if there are no thumbnails.
Definition at line 731 of file VideoEntry.php.

| getVideoTitle | ( | ) |
Gets the title of the video as a string. null is returned if the video title is not available.
Definition at line 649 of file VideoEntry.php.

Gets the number of views for this video. null is returned if the number of views is not available.
Definition at line 870 of file VideoEntry.php.

Gets the URL of the YouTube video watch page. null is returned if the video watch page URL is not available.
Definition at line 710 of file VideoEntry.php.

| getWhere | ( | ) |
Gets the georss:where element
Definition at line 626 of file VideoEntry.php.

Checks whether the video is embeddable.
Definition at line 389 of file VideoEntry.php.

| isVideoPrivate | ( | ) |
Checks whether the video is private.
Definition at line 790 of file VideoEntry.php.

| setComments | ( | $ | comments = null | ) |
Sets the comments relating to the video.
| Zend_Gdata_Extension_Comments | $comments | The comments relating to the video |
Definition at line 485 of file VideoEntry.php.
| setFeedLink | ( | $ | feedLink = null | ) |
Sets the array of embedded feeds related to the video
| array | $feedLink | The array of embedded feeds relating to the video |
Definition at line 507 of file VideoEntry.php.
| setLocation | ( | $ | location = null | ) |
Sets the location information.
| Zend_Gdata_YouTube_Extension_Location | $location | Where the video was recorded |
Definition at line 342 of file VideoEntry.php.
| setNoEmbed | ( | $ | noEmbed = null | ) |
If an instance of Zend_Gdata_YouTube_Extension_NoEmbed is passed in, the video cannot be embedded. Otherwise, if null is passsed in, the video is able to be embedded.
| Zend_Gdata_YouTube_Extension_NoEmbed | $noEmbed | Whether or not the video can be embedded. |
Definition at line 367 of file VideoEntry.php.
| setRacy | ( | $ | racy = null | ) |
Specifies that the video has racy content.
| Zend_Gdata_YouTube_Extension_Racy | $racy | The racy flag object |
| Zend_Gdata_App_VersionException |
Definition at line 427 of file VideoEntry.php.

| setRating | ( | $ | rating = null | ) |
Sets the rating relating to the video.
| Zend_Gdata_Extension_Rating | $rating | The rating relating to the video |
Definition at line 463 of file VideoEntry.php.

| setRecorded | ( | $ | recorded = null | ) |
Sets when the video was recorded.
| Zend_Gdata_YouTube_Extension_Recorded | $recorded | When the video was recorded |
Definition at line 319 of file VideoEntry.php.

| setStatistics | ( | $ | statistics = null | ) |
Sets the statistics relating to the video.
| Zend_Gdata_YouTube_Extension_Statistics | $statistics | The statistics relating to the video |
Definition at line 404 of file VideoEntry.php.
| setVideoCategory | ( | $ | category | ) |
Sets the category of the video as a string.
| string | $category | Categories for the video |
Definition at line 954 of file VideoEntry.php.

| setVideoDescription | ( | $ | description | ) |
Sets the description of the video as a string.
| string | $description | Description for the video |
Definition at line 679 of file VideoEntry.php.

| setVideoDeveloperTags | ( | $ | developerTags | ) |
Set multiple developer tags for the video as strings.
| array | $developerTags | Array of developerTag for the video |
Definition at line 1015 of file VideoEntry.php.

| setVideoPrivate | ( | ) |
Sets video to private.
Definition at line 805 of file VideoEntry.php.

| setVideoPublic | ( | ) |
Sets a private video to be public.
Definition at line 817 of file VideoEntry.php.

| setVideoRating | ( | $ | ratingValue | ) |
Helper function to conveniently set a video's rating.
| integer | $ratingValue | A number representing the rating. Must be between 1 and 5 inclusive. |
| Zend_Gdata_Exception |
Definition at line 1062 of file VideoEntry.php.

| setVideoRecorded | ( | $ | recorded | ) |
Sets the date that the video was recorded.
| string | $recorded | The date that the video was recorded, in the format of '2001-06-19' |
Definition at line 614 of file VideoEntry.php.

| setVideoTags | ( | $ | tags | ) |
Sets the keyword tags for a video.
| mixed | $tags | Either a comma-separated string or an array of tags for the video |
Definition at line 852 of file VideoEntry.php.

| setVideoTitle | ( | $ | title | ) |
Sets the title of the video as a string.
| string | $title | Title for the video |
Definition at line 665 of file VideoEntry.php.

| setWhere | ( | $ | value | ) |
Sets the georss:where element
| Zend_Gdata_Geo_Extension_GeoRssWhere | $value | The georss:where class value |
Definition at line 637 of file VideoEntry.php.
| takeChildFromDOM | ( | $ | child | ) | [protected] |
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
| DOMNode | $child | The DOMNode to process |
Reimplemented from Zend_Gdata_YouTube_MediaEntry.
Reimplemented in Zend_Gdata_YouTube_PlaylistVideoEntry.
Definition at line 247 of file VideoEntry.php.

$_comments = null [protected] |
Definition at line 145 of file VideoEntry.php.
$_entryClassName = 'Zend_Gdata_YouTube_VideoEntry' [protected] |
Reimplemented from Zend_Gdata_YouTube_MediaEntry.
Reimplemented in Zend_Gdata_YouTube_PlaylistVideoEntry.
Definition at line 103 of file VideoEntry.php.
$_feedLink = array() [protected] |
Definition at line 152 of file VideoEntry.php.
$_location = null [protected] |
Definition at line 173 of file VideoEntry.php.
$_noEmbed = null [protected] |
Definition at line 110 of file VideoEntry.php.
$_private = null [protected] |
Definition at line 131 of file VideoEntry.php.
$_racy = null [protected] |
Definition at line 124 of file VideoEntry.php.
$_rating = null [protected] |
Definition at line 138 of file VideoEntry.php.
$_recorded = null [protected] |
Definition at line 166 of file VideoEntry.php.
$_statistics = null [protected] |
Definition at line 117 of file VideoEntry.php.
$_where = null [protected] |
Definition at line 159 of file VideoEntry.php.
| const YOUTUBE_CATEGORY_SCHEMA = 'http://gdata.youtube.com/schemas/2007/categories.cat' |
Definition at line 102 of file VideoEntry.php.
| const YOUTUBE_DEVELOPER_TAGS_SCHEMA = 'http://gdata.youtube.com/schemas/2007/developertags.cat' |
Definition at line 101 of file VideoEntry.php.