Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_YouTube_InboxEntry Class Reference
Inheritance diagram for Zend_Gdata_YouTube_InboxEntry:
Collaboration diagram for Zend_Gdata_YouTube_InboxEntry:

Public Member Functions

 __construct ($element=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getDescription ()
 setDescription ($description=null)
 getRating ()
 setRating ($rating=null)
 getComments ()
 setComments ($comments=null)
 getStatistics ()
 setStatistics ($statistics=null)

Protected Member Functions

 takeChildFromDOM ($child)

Protected Attributes

 $_entryClassName = 'Zend_Gdata_YouTube_InboxEntry'
 $_comments = null
 $_rating = null
 $_statistics = null
 $_description = null

Detailed Description

Definition at line 59 of file InboxEntry.php.


Constructor & Destructor Documentation

__construct ( element = null)

Creates a subscription entry, representing an individual subscription in a list of subscriptions, usually associated with an individual user.

Parameters:
DOMElement$element(optional) DOMElement from which this object should be constructed.

Reimplemented from Zend_Gdata_Media_Entry.

Definition at line 99 of file InboxEntry.php.

Here is the call graph for this function:


Member Function Documentation

Get the gd:comments element of the inbox entry.

Returns:
Zend_Gdata_Extension_Comments|null

Definition at line 240 of file InboxEntry.php.

Get the yt:description

Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_Extension_Description|null

Definition at line 179 of file InboxEntry.php.

Here is the call graph for this function:

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.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_Media_Entry.

Definition at line 115 of file InboxEntry.php.

getRating ( )

Get the gd:rating element for the inbox entry

Returns:
Zend_Gdata_Extension_Rating|null

Definition at line 217 of file InboxEntry.php.

Get the yt:statistics element for the inbox entry

Returns:
Zend_Gdata_YouTube_Extension_Statistics|null

Definition at line 262 of file InboxEntry.php.

setComments ( comments = null)

Sets the gd:comments element for the inbox entry

Parameters:
Zend_Gdata_Extension_Comments$commentsThe comments feed link
Returns:
Zend_Gdata_YouTube_InboxEntry Provides a fluent interface

Definition at line 251 of file InboxEntry.php.

setDescription ( description = null)

Sets the yt:description element for a new inbox entry.

Parameters:
Zend_Gdata_YouTube_Extension_Description$descriptionThe description.
Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_InboxEntry Provides a fluent interface

Definition at line 199 of file InboxEntry.php.

Here is the call graph for this function:

setRating ( rating = null)

Sets the gd:rating element for the inbox entry

Parameters:
Zend_Gdata_Extension_Rating$ratingThe rating for the video in the message
Returns:
Zend_Gdata_YouTube_InboxEntry Provides a fluent interface

Definition at line 229 of file InboxEntry.php.

setStatistics ( statistics = null)

Sets the yt:statistics element for the inbox entry

Parameters:
Zend_Gdata_YouTube_Extension_Statistics$statisticsThe statistics element for the video in the message
Returns:
Zend_Gdata_YouTube_InboxEntry Provides a fluent interface

Definition at line 274 of file InboxEntry.php.

takeChildFromDOM ( child) [protected]

Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

Parameters:
DOMNode$childThe DOMNode to process

Reimplemented from Zend_Gdata_Media_Entry.

Definition at line 143 of file InboxEntry.php.

Here is the call graph for this function:


Field Documentation

$_comments = null [protected]

Definition at line 69 of file InboxEntry.php.

$_description = null [protected]

Definition at line 90 of file InboxEntry.php.

$_entryClassName = 'Zend_Gdata_YouTube_InboxEntry' [protected]

Reimplemented from Zend_Gdata_Media_Entry.

Definition at line 62 of file InboxEntry.php.

$_rating = null [protected]

Definition at line 76 of file InboxEntry.php.

$_statistics = null [protected]

Definition at line 83 of file InboxEntry.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations