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


Public Member Functions | |
| __construct ($viewCount=null, $videoWatchCount=null, $subscriberCount=null, $lastWebAccess=null, $favoriteCount=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getViewCount () | |
| setViewCount ($value) | |
| getVideoWatchCount () | |
| setVideoWatchCount ($value) | |
| getSubscriberCount () | |
| setSubscriberCount ($value) | |
| getLastWebAccess () | |
| setLastWebAccess ($value) | |
| getFavoriteCount () | |
| setFavoriteCount ($value) | |
| __toString () | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootNamespace = 'yt' | |
| $_rootElement = 'statistics' | |
| $_videoWatchCount = null | |
| $_viewCount = null | |
| $_subscriberCount = null | |
| $_lastWebAccess = null | |
| $_favoriteCount = null | |
Definition at line 38 of file Statistics.php.
| __construct | ( | $ | viewCount = null, |
| $ | videoWatchCount = null, |
||
| $ | subscriberCount = null, |
||
| $ | lastWebAccess = null, |
||
| $ | favoriteCount = null |
||
| ) |
Constructs a new Zend_Gdata_YouTube_Extension_Statistics object.
| string | $viewCount,(optional) | The viewCount value |
| string | $videoWatchCount,(optional) | The videoWatchCount value |
| string | $subscriberCount,(optional) | The subscriberCount value |
| string | $lastWebAccess,(optional) | The lastWebAccess value |
| string | $favoriteCount,(optional) | The favoriteCount value |
Definition at line 101 of file Statistics.php.

| __toString | ( | ) |
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0
Reimplemented from Zend_Gdata_App_Base.
Definition at line 300 of file Statistics.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_App_Base.
Definition at line 124 of file Statistics.php.
| getFavoriteCount | ( | ) |
Get the value for this element's favoriteCount attribute.
Definition at line 276 of file Statistics.php.
| getLastWebAccess | ( | ) |
Get the value for this element's lastWebAccess attribute.
Definition at line 253 of file Statistics.php.
Get the value for this element's subscriberCount attribute.
Definition at line 230 of file Statistics.php.
Get the value for this element's videoWatchCount attribute.
Definition at line 207 of file Statistics.php.
| getViewCount | ( | ) |
Get the value for this element's viewCount attribute.
Definition at line 184 of file Statistics.php.
| setFavoriteCount | ( | $ | value | ) |
Set the value for this element's favoriteCount attribute.
| int | $value | The desired value for this attribute. |
Definition at line 288 of file Statistics.php.
| setLastWebAccess | ( | $ | value | ) |
Set the value for this element's lastWebAccess attribute.
| int | $value | The desired value for this attribute. |
Definition at line 265 of file Statistics.php.
| setSubscriberCount | ( | $ | value | ) |
Set the value for this element's subscriberCount attribute.
| int | $value | The desired value for this attribute. |
Definition at line 242 of file Statistics.php.
| setVideoWatchCount | ( | $ | value | ) |
Set the value for this element's videoWatchCount attribute.
| int | $value | The desired value for this attribute. |
Definition at line 219 of file Statistics.php.
| setViewCount | ( | $ | value | ) |
Set the value for this element's viewCount attribute.
| int | $value | The desired value for this attribute. |
Definition at line 196 of file Statistics.php.
| takeAttributeFromDOM | ( | $ | attribute | ) | [protected] |
Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and valueare stored in an array. TODO: Convert attributes to proper types
| DOMNode | $attribute | The DOMNode attribute needed to be handled |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 156 of file Statistics.php.
$_favoriteCount = null [protected] |
Definition at line 91 of file Statistics.php.
$_lastWebAccess = null [protected] |
Definition at line 81 of file Statistics.php.
$_rootElement = 'statistics' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 42 of file Statistics.php.
$_rootNamespace = 'yt' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 41 of file Statistics.php.
$_subscriberCount = null [protected] |
Definition at line 73 of file Statistics.php.
$_videoWatchCount = null [protected] |
Definition at line 52 of file Statistics.php.
$_viewCount = null [protected] |
Definition at line 63 of file Statistics.php.