## Zend_Gdata_YouTube_Extension_Link

Description

Specialized Link class for use with YouTube. Enables use of yt extension elements.

- copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license: New BSD License

Located in /Gdata/YouTube/Extension/Link.php (line 43)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_Extension
          |
          --Zend_Gdata_App_Extension_Link
             |
             --Zend_Gdata_YouTube_Extension_Link

Variable Summary
mixed $_token
Method Summary
Zend_Gdata_YouTube_Extension_Link __construct ([ $href = null], [ $rel = null], [ $type = null], [ $hrefLang = null], [ $title = null], [ $length = null], [Zend_Gdata_YouTube_Extension_Token $token = null])
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
Zend_Gdata_YouTube_Extension_Token getToken ()
string getTokenValue ()
Zend_YouTube_Extension_Link setToken (Zend_Gdata_YouTube_Extension_Token $value)
void takeChildFromDOM (DOMNode $child)
Variables
mixed $_token = null (line 46)

- access: protected

#### Inherited Variables

Inherited from Zend_Gdata_App_Extension_Link

> Zend_Gdata_App_Extension_Link::$_href
> Zend_Gdata_App_Extension_Link::$_hrefLang
> Zend_Gdata_App_Extension_Link::$_length
> Zend_Gdata_App_Extension_Link::$_rel
> Zend_Gdata_App_Extension_Link::$_rootElement
> Zend_Gdata_App_Extension_Link::$_title
> Zend_Gdata_App_Extension_Link::$_type

Inherited from Zend_Gdata_App_Base

> Zend_Gdata_App_Base::$_extensionAttributes
> Zend_Gdata_App_Base::$_extensionElements
> Zend_Gdata_App_Base::$_namespaceLookupCache
> Zend_Gdata_App_Base::$_namespaces
> Zend_Gdata_App_Base::$_rootNamespace
> Zend_Gdata_App_Base::$_rootNamespaceURI
> Zend_Gdata_App_Base::$_text

Methods
Constructor __construct (line 53)

Constructs a new Zend_Gdata_Calendar_Extension_Link object.

- see: __construct
- access: public

Zend_Gdata_YouTube_Extension_Link __construct ([ $href = null], [ $rel = null], [ $type = null], [ $hrefLang = null], [ $title = null], [ $length = null], [Zend_Gdata_YouTube_Extension_Token $token = null])

- Zend_Gdata_YouTube_Extension_Token $token
- $href
- $rel
- $type
- $hrefLang
- $title
- $length

Redefinition of:

Zend_Gdata_App_Extension_Link::__construct()

getDOM (line 71)

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.

- return: The DOMElement representing this element and all child properties.
- access: public

DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])

- DOMDocument $doc: The DOMDocument used to construct DOMElements
- $majorVersion
- $minorVersion

Redefinition of:

Zend_Gdata_App_Extension_Link::getDOM()

getToken (line 106)

Get the value for this element's token attribute.

- return: The token element.
- access: public

Zend_Gdata_YouTube_Extension_Token getToken ()
getTokenValue (line 128)

Get the value of this element's token attribute.

- return: The token's text value
- access: public

string getTokenValue ()
setToken (line 117)

Set the value for this element's token attribute.

- return: The element being modified.
- access: public

Zend_YouTube_Extension_Link setToken (Zend_Gdata_YouTube_Extension_Token $value)

- Zend_Gdata_YouTube_Extension_Token $value: The desired value for this attribute.

takeChildFromDOM (line 86)

Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.

- access: protected

void takeChildFromDOM (DOMNode $child)

- DOMNode $child: The DOMNode to process

Redefinition of:

Zend_Gdata_App_Base::takeChildFromDOM()
  Given a child DOMNode, tries to determine how to map the data into object instance members. If no mapping is defined, Extension_Element objects are created and stored in an array.

#### Inherited Methods

Inherited From Zend_Gdata_App_Extension_Link

> Zend_Gdata_App_Extension_Link::__construct()
> Zend_Gdata_App_Extension_Link::getDOM()
> Zend_Gdata_App_Extension_Link::getHref()
> Zend_Gdata_App_Extension_Link::getHrefLang()
> Zend_Gdata_App_Extension_Link::getLength()
> Zend_Gdata_App_Extension_Link::getRel()
> Zend_Gdata_App_Extension_Link::getTitle()
> Zend_Gdata_App_Extension_Link::getType()
> Zend_Gdata_App_Extension_Link::setHref()
> Zend_Gdata_App_Extension_Link::setHrefLang()
> Zend_Gdata_App_Extension_Link::setLength()
> Zend_Gdata_App_Extension_Link::setRel()
> Zend_Gdata_App_Extension_Link::setTitle()
> Zend_Gdata_App_Extension_Link::setType()
> Zend_Gdata_App_Extension_Link::takeAttributeFromDOM()

Inherited From Zend_Gdata_App_Base

> Zend_Gdata_App_Base::__construct()
> Zend_Gdata_App_Base::encode()
> Zend_Gdata_App_Base::flushNamespaceLookupCache()
> Zend_Gdata_App_Base::getDOM()
> Zend_Gdata_App_Base::getExtensionAttributes()
> Zend_Gdata_App_Base::getExtensionElements()
> Zend_Gdata_App_Base::getText()
> Zend_Gdata_App_Base::getXML()
> Zend_Gdata_App_Base::lookupNamespace()
> Zend_Gdata_App_Base::registerAllNamespaces()
> Zend_Gdata_App_Base::registerNamespace()
> Zend_Gdata_App_Base::saveXML()
> Zend_Gdata_App_Base::setExtensionAttributes()
> Zend_Gdata_App_Base::setExtensionElements()
> Zend_Gdata_App_Base::setText()
> Zend_Gdata_App_Base::takeAttributeFromDOM()
> Zend_Gdata_App_Base::takeChildFromDOM()
> Zend_Gdata_App_Base::transferFromDOM()
> Zend_Gdata_App_Base::transferFromXML()
> Zend_Gdata_App_Base::__get()
> Zend_Gdata_App_Base::__isset()
> Zend_Gdata_App_Base::__set()
> Zend_Gdata_App_Base::__toString()
> Zend_Gdata_App_Base::__unset()

Documentation generated on Tue, 26 Oct 2010 20:08:52 +0400 by phpDocumentor 1.4.2