[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
Version: | $Id$ |
File Size: | 309 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Zend_Gdata_YouTube_Extension_Statistics:: (14 methods):
__construct()
getDOM()
takeAttributeFromDOM()
getViewCount()
setViewCount()
getVideoWatchCount()
setVideoWatchCount()
getSubscriberCount()
setSubscriberCount()
getLastWebAccess()
setLastWebAccess()
getFavoriteCount()
setFavoriteCount()
__toString()
Class: Zend_Gdata_YouTube_Extension_Statistics - X-Ref
Represents the yt:statistics element used by the YouTube data API__construct($viewCount = null, $videoWatchCount = null,$subscriberCount = null, $lastWebAccess = null,$favoriteCount = null) X-Ref |
Constructs a new Zend_Gdata_YouTube_Extension_Statistics object. param: string $viewCount(optional) The viewCount value param: string $videoWatchCount(optional) The videoWatchCount value param: string $subscriberCount(optional) The subscriberCount value param: string $lastWebAccess(optional) The lastWebAccess value param: string $favoriteCount(optional) The favoriteCount value |
getDOM($doc = null, $majorVersion = 1, $minorVersion = null) X-Ref |
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. param: DOMDocument $doc The DOMDocument used to construct DOMElements return: DOMElement The DOMElement representing this element and all |
takeAttributeFromDOM($attribute) X-Ref |
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 param: DOMNode $attribute The DOMNode attribute needed to be handled |
getViewCount() X-Ref |
Get the value for this element's viewCount attribute. return: int The value associated with this attribute. |
setViewCount($value) X-Ref |
Set the value for this element's viewCount attribute. param: int $value The desired value for this attribute. return: Zend_Gdata_YouTube_Extension_Statistics The element being |
getVideoWatchCount() X-Ref |
Get the value for this element's videoWatchCount attribute. return: int The value associated with this attribute. |
setVideoWatchCount($value) X-Ref |
Set the value for this element's videoWatchCount attribute. param: int $value The desired value for this attribute. return: Zend_Gdata_YouTube_Extension_Statistics The element being |
getSubscriberCount() X-Ref |
Get the value for this element's subscriberCount attribute. return: int The value associated with this attribute. |
setSubscriberCount($value) X-Ref |
Set the value for this element's subscriberCount attribute. param: int $value The desired value for this attribute. return: Zend_Gdata_YouTube_Extension_Statistics The element being |
getLastWebAccess() X-Ref |
Get the value for this element's lastWebAccess attribute. return: int The value associated with this attribute. |
setLastWebAccess($value) X-Ref |
Set the value for this element's lastWebAccess attribute. param: int $value The desired value for this attribute. return: Zend_Gdata_YouTube_Extension_Statistics The element being |
getFavoriteCount() X-Ref |
Get the value for this element's favoriteCount attribute. return: int The value associated with this attribute. |
setFavoriteCount($value) X-Ref |
Set the value for this element's favoriteCount attribute. param: int $value The desired value for this attribute. return: Zend_Gdata_YouTube_Extension_Statistics The element being |
__toString() X-Ref |
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0 return: string |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |