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


Public Member Functions | |
| __construct ($element=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getVideoId () | |
| getUsername () | |
| getRating () | |
| getRatingValue () | |
| getActivityType () | |
| getAuthorName () | |
Data Fields | |
| const | ACTIVITY_CATEGORY_SCHEME |
Protected Member Functions | |
| takeChildFromDOM ($child) | |
Protected Attributes | |
| $_entryClassName = 'Zend_Gdata_YouTube_ActivityEntry' | |
| $_videoId = null | |
| $_username = null | |
| $_rating = null | |
Definition at line 55 of file ActivityEntry.php.
| __construct | ( | $ | element = null | ) |
Constructs a new Zend_Gdata_YouTube_ActivityEntry object.
| DOMElement | $element | (optional) The DOMElement on which to base this object. |
Reimplemented from Zend_Gdata_Entry.
Definition at line 93 of file ActivityEntry.php.

| getActivityType | ( | ) |
Return the activity type that was performed.
Convenience method that inspects category where scheme is http://gdata.youtube.com/schemas/2007/userevents.cat.
Definition at line 211 of file ActivityEntry.php.

| getAuthorName | ( | ) |
Convenience method to quickly get access to the author of the activity
Definition at line 227 of file ActivityEntry.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 application storage/persistence.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_Entry.
Definition at line 108 of file ActivityEntry.php.
| getRating | ( | ) |
Returns the rating for this activity entry.
Definition at line 182 of file ActivityEntry.php.
| getRatingValue | ( | ) |
Return the value of the rating for this video entry.
Convenience method to save needless typing.
Definition at line 194 of file ActivityEntry.php.
| getUsername | ( | ) |
Returns the username for this activity entry.
Definition at line 172 of file ActivityEntry.php.
| getVideoId | ( | ) |
Returns the video ID for this activity entry.
Definition at line 162 of file ActivityEntry.php.
| takeChildFromDOM | ( | $ | child | ) | [protected] |
Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.
| DOMNode | $child | The DOMNode to process |
Reimplemented from Zend_Gdata_Entry.
Definition at line 132 of file ActivityEntry.php.

$_entryClassName = 'Zend_Gdata_YouTube_ActivityEntry' [protected] |
Reimplemented from Zend_Gdata_Entry.
Definition at line 65 of file ActivityEntry.php.
$_rating = null [protected] |
Definition at line 86 of file ActivityEntry.php.
$_username = null [protected] |
Definition at line 79 of file ActivityEntry.php.
$_videoId = null [protected] |
Definition at line 72 of file ActivityEntry.php.
| const ACTIVITY_CATEGORY_SCHEME |
'http://gdata.youtube.com/schemas/2007/userevents.cat'
Definition at line 57 of file ActivityEntry.php.