Detailed Description
Definition at line 38 of file State.php.
Constructor & Destructor Documentation
| __construct |
( |
$ |
explanation = null, |
|
|
$ |
name = null, |
|
|
$ |
reasonCode = null, |
|
|
$ |
helpUrl = null |
|
) |
| |
Constructs a new Zend_Gdata_YouTube_Extension_State object.
- Parameters:
-
| 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 |
Definition at line 55 of file State.php.
Member Function Documentation
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0
- Returns:
- string
Reimplemented from Zend_Gdata_App_Base.
Definition at line 188 of file State.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.
- Parameters:
-
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
- Returns:
- DOMElement The DOMElement representing this element and all child properties.
Reimplemented from Zend_Gdata_App_Base.
Definition at line 76 of file State.php.
Get the value for this element's helpUrl attribute.
- Returns:
- int The value associated with this attribute.
Definition at line 165 of file State.php.
Get the value for this element's name attribute.
- Returns:
- int The value associated with this attribute.
Definition at line 121 of file State.php.
Get the value for this element's reasonCode attribute.
- Returns:
- int The value associated with this attribute.
Definition at line 143 of file State.php.
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
- Parameters:
-
| DOMNode | $attribute | The DOMNode attribute needed to be handled |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 99 of file State.php.
Field Documentation
$_helpUrl = null [protected] |
$_name = null [protected] |
$_reasonCode = null [protected] |
$_rootElement = 'state' [protected] |
$_rootNamespace = 'yt' [protected] |
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/zend/Zend/Gdata/YouTube/Extension/State.php