Zend Framework
1.12
|
Public Member Functions | |
__construct ($viewCount=null, $videoWatchCount=null, $subscriberCount=null, $lastWebAccess=null, $favoriteCount=null) | |
Constructs a new Zend_Gdata_YouTube_Extension_Statistics object. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getViewCount () | |
Get the value for this element's viewCount attribute. | |
setViewCount ($value) | |
Set the value for this element's viewCount attribute. | |
getVideoWatchCount () | |
Get the value for this element's videoWatchCount attribute. | |
setVideoWatchCount ($value) | |
Set the value for this element's videoWatchCount attribute. | |
getSubscriberCount () | |
Get the value for this element's subscriberCount attribute. | |
setSubscriberCount ($value) | |
Set the value for this element's subscriberCount attribute. | |
getLastWebAccess () | |
Get the value for this element's lastWebAccess attribute. | |
setLastWebAccess ($value) | |
Set the value for this element's lastWebAccess attribute. | |
getFavoriteCount () | |
Get the value for this element's favoriteCount attribute. | |
setFavoriteCount ($value) | |
Set the value for this element's favoriteCount attribute. | |
__toString () | |
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0. | |
![]() | |
__construct () | |
Protected Member Functions | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
Protected Attributes | |
$_rootNamespace = 'yt' | |
$_rootElement = 'statistics' | |
$_videoWatchCount = null | |
$_viewCount = null | |
$_subscriberCount = null | |
$_lastWebAccess = null | |
$_favoriteCount = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__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 |
__toString | ( | ) |
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0.
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 |
getFavoriteCount | ( | ) |
Get the value for this element's favoriteCount attribute.
getLastWebAccess | ( | ) |
Get the value for this element's lastWebAccess attribute.
getSubscriberCount | ( | ) |
Get the value for this element's subscriberCount attribute.
getVideoWatchCount | ( | ) |
Get the value for this element's videoWatchCount attribute.
getViewCount | ( | ) |
Get the value for this element's viewCount attribute.
setFavoriteCount | ( | $value | ) |
Set the value for this element's favoriteCount attribute.
int | $value | The desired value for this attribute. |
setLastWebAccess | ( | $value | ) |
Set the value for this element's lastWebAccess attribute.
int | $value | The desired value for this attribute. |
setSubscriberCount | ( | $value | ) |
Set the value for this element's subscriberCount attribute.
int | $value | The desired value for this attribute. |
setVideoWatchCount | ( | $value | ) |
Set the value for this element's videoWatchCount attribute.
int | $value | The desired value for this attribute. |
setViewCount | ( | $value | ) |
Set the value for this element's viewCount attribute.
int | $value | The desired value for this 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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |