Zend Framework
1.12
|
Public Member Functions | |
__construct ($explanation=null, $name=null, $reasonCode=null, $helpUrl=null) | |
Constructs a new Zend_Gdata_YouTube_Extension_State object. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getName () | |
Get the value for this element's name attribute. | |
setName ($value) | |
Set the value for this element's name attribute. | |
getReasonCode () | |
Get the value for this element's reasonCode attribute. | |
setReasonCode ($value) | |
Set the value for this element's reasonCode attribute. | |
getHelpUrl () | |
Get the value for this element's helpUrl attribute. | |
setHelpUrl ($value) | |
Set the value for this element's helpUrl 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 = 'state' | |
$_name = null | |
$_reasonCode = null | |
$_helpUrl = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__construct | ( | $explanation = null , |
|
$name = null , |
|||
$reasonCode = null , |
|||
$helpUrl = null |
|||
) |
Constructs a new Zend_Gdata_YouTube_Extension_State object.
string | $explanation,(optional) | The explanation of this state |
string | $name,(optional) | The name value |
string | $reasonCode,(optional) | The reasonCode value |
string | $helpUrl,(optional) | The helpUrl 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 |
getHelpUrl | ( | ) |
Get the value for this element's helpUrl attribute.
getName | ( | ) |
Get the value for this element's name attribute.
getReasonCode | ( | ) |
Get the value for this element's reasonCode attribute.
setHelpUrl | ( | $value | ) |
Set the value for this element's helpUrl attribute.
int | $value | The desired value for this attribute. |
setName | ( | $value | ) |
Set the value for this element's name attribute.
int | $value | The desired value for this attribute. |
setReasonCode | ( | $value | ) |
Set the value for this element's reasonCode 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 |